2015/05/19分のコミットです。
CHANGELOGへの追加はありませんでした。
docs for updating nested attributes while creating parent record [ci]
activerecord/lib/active_record/nested_attributes.rb
のdocの修正です。
親レコードを新規に作成する際のnested attributesの挙動について説明を追加しています。
Fix serial?
with quoted sequence name
activerecord/lib/active_record/connection_adapters/postgresql/column.rb
の修正です。
PostgreSQLColumn#serial?
メソッドでシーケンス名のエスケープ処理が足りてなかったのを修正しています。
Added ActionDispatch::Journey::Routes#empty?
actionpack/lib/action_dispatch/journey/routes.rb
の修正です。
ActionDispatch::Journey::Routes#empty?
メソッドを新規に追加しています。
+ def empty? + routes.empty? + end
Divide methods for handling column options separately
activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb
の修正です。
prepare_column_options
メソッド内のlimit
、precision
、scale
オプションに関する処理をメソッドに切り出しています。
子クラスで処理を拡張出来るようにする為のようです。
ActionDispatch::Journey::Routes#empty? test cases
actionpack/test/dispatch/routing/route_set_test.rb
の修正です。
先に追加されたActionDispatch::Journey::Routes#empty?
メソッドのテストコードを追加しています。
actionpack/test/dispatch/routing/route_set_test.rb
、
actionpack/test/journey/routes_test.rb
の修正です。
テストコード内のrefute
をassert_not
を使用するよう修正しています。
Merge pull request #20175 from eugeneius/copy_schema_cache_after_fork
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
の修正です。
forkした後に新規にコネクションプールを作成する際、既にあるschema cacheの情報を使いまわすよう修正しています。
activesupport/lib/active_support/callbacks.rb
のdocの修正です。
__update_callbacks
メソッド内docのarguments
を argument
に修正しています。
Merge pull request #20143 from vngrs/move_integer_positive_negative_to_numeric
ActiveSupportの修正です。
Integer#positive?
、Integer#negative?
をNumeric#positive?
、Numeric#negative?
に移動しています。
Only define #positive? and #negative? on Ruby 2.2
activesupport/lib/active_support/core_ext/numeric/inquiry.rb
の修正です。
Numeric#positive?
、Numeric#negative?
メソッドはRuby 2.2の場合のみ定義するよう修正しています。
Ruby 本体に同メソッドが定義されたので、Ruby 2.2以降ではそちらを使用するようにする為に修正しています。 Ruby側の対応については、Feature #11151: Numeric#positive? and Numeric#negative? - Ruby trunk - Ruby Issue Tracking Systemをご参照。
Fix typos is CHANGELOG [ci skip]
activesupport/CHANGELOG.md
の修正です。
CHANGELOG全体のタイポの修正を行っています。