欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Rails 2.2 RC1发布

程序员文章站 2022-07-14 14:32:51
...

国际化

线程安全

etags

ruby1.9支持

文档项目

 

1. 基础设施

  • 国际化
  • ruby1.9和jruby兼容

2. 文档

 

  •    Ror Guides

3. Http 缓存 etag

4. 线程安全

5. Active Record

  • 迁移事务化
  • Connection Pool
  • conditions支持join table中的选项
  • 新的动态finder, find_last_by_<attr>, find_by_<attr>!
  • 管理对象遵照private和protected的scope
  • ActiveRecord::Base.human_name 以支持i18n

6. Action Controller

  • shallow route nesting
  • 计算以ms为单位,而不再是s

7. Action View

  • javascript_include_tag支持:recursive
  • prototype支持1.6.0.2
  • page.reload

8. Action Mailer

 

9. Active Support

  • Memoization 记住函数执行结果
  • each_with_object , 类似inject
  • delegate带起了前缀