如何为 Rails 做出贡献?

发布于 2024-09-17 06:47:23 字数 703 浏览 6 评论 0原文

我遇到了 ActiveRecord 序列化问题。显然,它在序列化范围为键的哈希时遇到了麻烦。我找到了 Rails Lighthouse 票证 (https://rails.lighthouseapp.com/projects/8994/tickets/3067-activerecord-cant-deserialize-hashes-with-range-keys)。我以前从未为开源项目做出过贡献,这很可能会花费更多的时间和精力,而这对我来说是不值得的。

我只是好奇如何开发修复程序并推送补丁。

编辑:我在灯塔页面上找到了这个链接: https://rails.lighthouseapp.com /projects/8994/sending-patches

但是,我仍然很感激任何提示、建议、要避免的陷阱等。对于像序列化这样的问题,对序列化库的修复会更好,或者可能进行修改ActiveRecord/ActiveSupport 的?

I ran into a problem with ActiveRecord serialization. Apparently, it has trouble serializing hashes where ranges are keys. I found the Rails Lighthouse ticket (https://rails.lighthouseapp.com/projects/8994/tickets/3067-activerecord-cant-deserialize-hashes-with-range-keys). I've never contributed to an open-source project before, and this could very well take way more time and effort than is worth it for me at this point.

I'm just curious as to how one develops a fix and pushes the patch.

EDIT: I found this link on the Lighthouse page: https://rails.lighthouseapp.com/projects/8994/sending-patches

However, I'd still appreciate any tips, advice, pitfalls to avoid etc. For a problem like the serialization, would a fix to the serialization library be better, or perhaps a modification of ActiveRecord/ActiveSupport?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

追星践月 2024-09-24 06:47:23

这是您所需要的http://guides.rubyonrails.org/contributing_to_rails.html,还有有一些很棒的人在 irc.freenode.net 上提供帮助(#rubyonrails、#railsbridge)

Here's all you'll need http://guides.rubyonrails.org/contributing_to_rails.html, there are some awesome people helping on irc.freenode.net (#rubyonrails, #railsbridge)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文