Rails 3.0.10.rc1 发布

发布于 2011年08月05日
收藏 0

Rails 3.0.10.rc1 已经发布。按照惯例测试候选版,然后报告bug在ruby on rails core mailing list,如果没有问题发现,那么 rails 3.0.10正式版将在8月8日发布。

Rails 3.0.10.rc1 变化如下:

You can find an exhaustive list of changes on github. Here are some notable excerpts:

From ActionPack:

  • Fixes an issue where cache sweepers with only after filters would have no controller object, it would raise undefined method controller_name for nil [jeroenj]

  • Ensure status codes are logged when exceptions are raised.

  • Subclasses of OutputBuffer are respected.

  • Fixed ActionView::FormOptionsHelper#select with :multiple => false

  • Avoid extra call to Cache#read in case of a fragment cache hit

From ActiveRecord:

  • Magic encoding comment added to schema.rb files

  • schema.rb is written as UTF-8 by default.

  • Ensuring an established connection when running rake db:schema:dump

  • Association conditions will not clobber join conditions.

  • Destroying a record will destroy the HABTM record before destroying itself. GH #402.

  • Make ActiveRecord::Batches#find_each to not return self.

  • Update table_exists? in PG to to always use current search_path or schema if explictly set.

转载请注明:文章转载自 OSCHINA 社区 [http://www.oschina.net]
本文标题:Rails 3.0.10.rc1 发布