2014/11/06分のコミットです。
CHANGELOGへの追加はありませんでした。
Remove session to allow with_routing
to be called twice.
actionpack/lib/action_dispatch/testing/integration.rb
、
actionpack/test/abstract_unit.rb
の修正です。
integrationテストの中で2回with_routing
メソッドを呼び出した際、2回目の呼び出しの際にroutesプロパティが設定されなかったバグがあったのを修正しています。
with_routing
の後処理でセッション情報削除し対応しています。
Improve performance of AR object instantiation
ActiveRecordの修正です。
ActiveRecordのオブジェクトの生成処理が、4.1.xと比べて著しく遅くなってしまっていたとの事で、性能改善の為の改修を行っています。性能劣化についてのissueはこちら。
attributes の生成の為のイテレーション処理で遅くなってしまっていたようで、attributesの生成処理を修正しています。
Remove unneccesary default parameters
activerecord/lib/active_record/attribute_set/builder.rb
の修正です。
上記対応で追加したbuild_from_database_pairs
メソッドのデフォルト引数を削除しています。
Removed documentation that still mentioned using respond_with in place
actionpack/lib/action_controller/metal/mime_responds.rb
、
actionpack/lib/action_controller/metal/renderers.rb
のdocの修正です。
respond_with
メソッドの説明をしている箇所を削除しています。 respond_with
メソッドはgemとして外だししたので、rails本体では言及する必要は無いからとの事です。
rails guideのRuby on Rails 4.1 Release Notes
の修正です。
Action Mailer Previews
の項のグラマーの修正を行っています。
Replace Html with HTML [ci skip]
rails guideのA Guide for Upgrading Ruby on Rails
の修正です。
Html
-> HTML
に修正しています。
added example of squish!, remove, test case for multiple occurrence of
activesupport/lib/active_support/core_ext/string/filters.rb
のdocの修正です。
squish!
、remove
、remove!
メソッドのexampleを追加しています。
docs, synchronize 4.2. release notes. [ci skip]
rails guideのRuby on Rails 4.2 Release Notes
の修正です。
--skip-action-view
の削除、sanitize_sql_hash_for_conditions
メソッドのdeprecate対応について追記しています。
Fix grouped expression warning - warning: (...) interpreted as grouped expression
activesupport/test/core_ext/range_ext_test.rb
の修正です。
interpreted as grouped expression
のwarningが出力されていた箇所があったので、()を追加し対応しています。
tests, use SchemaDumpingHelper to dump a specific table.
activerecord/test/cases/adapters/postgresql/uuid_test.rb
の修正です。
テスト内でtableのdumpを行う処理について、SchemaDumpingHelper
というdump処理用のヘルパーがあるので、そちらを使用するよう修正しています。
tests, remove unneeded requires.
ActiveRecordのテストの修正です。
不要なrequire処理を削除しています。