设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客

轻量级架构:Ruby on Rails 2.3.9发布

2010-9-5 21:25| 发布者: walkerxk| 查看: 1388| 评论: 0|来自: Linux伊甸园

摘要: Ruby on Rails 2.3.9 (gem and git tag) 对 2.3.8 进行扩展,使之更接近 Rails 3 和 1.9 的一个桥接版,如果你的应用在 2.3.9 上运行没有任何废弃的警告,那么你的应用就很有希望直接升级到 Rails 3.该版本废弃的内 ...

Ruby on Rails 2.3.9 (gem and git tag) 对 2.3.8 进行扩展,使之更接近 Rails 3 和 1.9 的一个桥接版,如果你的应用在 2.3.9 上运行没有任何废弃的警告,那么你的应用就很有希望直接升级到 Rails 3.

该版本废弃的内容有:

  • Changes i18n named-interpolation syntax from the deprecated Hello {{name}} to the 1.9-native Hello %{name}.
  • Replaces Kernel#returning with Object#tap which is native to Ruby 1.8.7.
  • Renames Array#random_element to Array#sample which is native to Ruby 1.9.
  • Renames config.load_paths and .load_once_paths to the more accurate config.autoload_paths and .autoload_once_paths.

在这些被声明为废弃的内容中还包含bug修复,详情请看 commit log

Onward to 3.1!


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部