Rails 3.2.0.rc2 发布

红薯
 红薯
发布于 2012年01月05日
收藏 0

Rails 3.2.0.rc2 发布了,与 RC1 相比,该版本改动内容包括:

ActionPack

  • Add font_path helper method Santiago Pastorino

  • Depends on rack ~> 1.4.0 Santiago Pastorino

  • Add :gzip option to caches_page. The default option can be configured globally using page_cache_compression Andrey Sitnik

ActiveSupport

  • ActiveSupport::Base64 is deprecated in favor of ::Base64. Sergey Nartimov

Railties

  • Rails 2.3-style plugins in vendor/plugins are deprecated and will be removed in Rails 4.0. Move them out of vendor/plugins and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. Santiago Pastorino

  • Guides are available as a single .mobi for the Kindle and free Kindle readers apps. Michael Pearson & Xavier Noria

  • Allow scaffold/model/migration generators to accept a "index" and "uniq" modifiers, as in: "tracking_id:integer:uniq" in order to generate (unique) indexes. Some types also accept custom options, for instance, you can specify the precision and scale for decimals as "price:decimal{7,2}". Dmitrii Samoilov

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 OSCHINA 社区 [http://www.oschina.net]
本文标题:Rails 3.2.0.rc2 发布
加载中

最新评论(5

Rubyfans
Rubyfans
可以直接在生成器里指定索引了,不错!
Rubyfans
Rubyfans
支持一下。
h
heronote
Free RoR (Ruby on Rails) eBook:

http://www.heronote.com/files/RoR.htm
Lucixfer
Lucixfer
楼上不文明啊
返回顶部
顶部