Rails 4.2.0 beta1 发布,此版本最值得注意的是添加了全新的 Active Job 框架及其集成。Active Job 是适配层的一些队列系统: Resque, Delayed Job, Sidekiq, 等等。同时还添加了一个改进项目:Adequate Record。Rails 4.2 beta1 还提供了一个 web 工作台,这是一个 IRB 工作台,可以在浏览器使用;在开发模式下,你可以前往 /console 开始工作。
其他更新:
-
Template digests are now automatically included when calculating etags for caching. So caches are bust when the template changes.
-
respond_withhas moved out and into its own proper home with the responders gem. -
Support for real foreign keys!
add_foreign_key/remove_foreign_keyare now available in migrations. -
A ton of bug fixes and minor improvements to Active Record.
-
Added
config.x.whatever.you_want = truefor custom configuration of your app inconfig/environments/*,config/application.rb, and initializers. -
Added
Rails::Application.config_for(:some_yaml)to load YAML configurations store inconfig/easily.
更多内容请看发行说明。
Rails 4.2 正式版将会包括许多 bug 修复,稳定性改进和常规的安全更新。
Rails 5.0 计划支持 Ruby 2.2,当前计划在 2015 年的春天或者夏天发布。
Rails 的详细介绍:请点这里
Rails 的下载地址:请点这里
Ubuntu下Apache服务器安装以及使用Passenger插件部署Rails应用 http://www.linuxidc.com/Linux/2012-12/75230.htm
Ubuntu下搭建Ruby On Rails http://www.linuxidc.com/Linux/2012-06/61981.htm
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-08/105733.htm
