Rails 3.0.7 发布

Rails 刚刚发布了 3.0.7 版本。该版本主要是修复了 3.0.6 中 ActiveRecord 中一个性能的问题。

你可以从 on github 查看与 3.0.6 的差异比较页面.

activesupport

  • Hash.from_xml no longer loses attributes on tags containing only whitespace [André Arko]

activerecord

  • Destroying records via nested attributes works independent of reject_if LH #6006 [Durran Jordan]
  • Delegate any? and many? to Model.scoped for consistency [Andrew White]
  • Quote the ORDER BY clause in batched finds - fixes #6620 [Andrew White]
  • Change exists? so records are not instantiated - fixes #6127. This prevents after_find and after_initialize callbacks being triggered when checking for record existence. [Andrew White]
  • Fix performance bug with attribute accessors which only occurred on Ruby 1.8.7, and ensure we cache type-casted values when the column returned from the db contains non-standard chars. [Jon Leighton]
  • Fix a performance regression introduced here 86acbf1cc050c8fa8c74a10c735e467fb6fd7df8 related to read_attribute method [Stian Grytøyr]

actionmailer

  • remove AM delegating register_observer and register_interceptor to Mail [Josh Kalderimis]

更多关于Rails的详细信息,或者下载地址请点这里

作者: 红薯   发布时间: 2011-04-19