为什么 Ruby On Rails 有不同的版本?
免责声明:我对 Ruby on Rails 完全陌生,但计划学习它。
今天早上我读到有两个新的 Ruby On Rails 版本(2.3.11 和 3.0.4)。
我不明白为什么人们(ROR 社区)正在工作(维护)不同的版本?对开发者有什么好处?
Disclaimer : I am totally new to Ruby on Rails but planning learning it.
This morning I have been reading there were two new Ruby On Rails releases (2.3.11 and 3.0.4).
I don't understand why people (the ROR community) are working (maintaining) different versions ? What are the benefits for developpers ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
2.x 分支上没有进行积极的开发。然而,有大量大量已部署的 2.x 应用程序,并且鉴于昨天的版本是与安全相关的补丁,因此他们为 2.x 用户提供了补丁。
将 Rails 应用程序从 2.x 升级到 3.x 并不一定容易或微不足道,并且期望将其作为安全漏洞的解决方案是不合理的,因此发布了 2.3.11 版本。
Active development is not being done on the 2.x branch. However, there are lots and lots and lots of deployed 2.x applications in the wild, and given that yesterday's releases were security-related patches, they provided a patch for 2.x users.
Upgrading a Rails application from 2.x to 3.x is not necessarily easy or trivial, and it's unreasonable to expect that as a solution to a security hole, so the 2.3.11 release was made instead.
这样做的好处是对于仍在使用旧版本并且由于某种原因不想或无法升级到新版本的人。对旧版本进行一些维护是标准做法。
The benefit is for people who are still using the old version and for some reason does not want to or cannot upgrade to a newer version. It is standard practice that there is some maintenance of old versions.