2015/03/31分のコミットです。
CHANGELOGへの追加はありませんでした。
Array#inquiry
メソッドを削除したコミットをrevertしています。
ArrayInquirer.new
があるから要らないんじゃないか、という理由で削除されたのですが、その後あっても良いのでは? という流れになり、revertされたようです。
Merge pull request #19021 from morgoth/activemodel-errors-refactoring
activemodel/lib/active_model/errors.rb
の修正です。
普通にメソッド定義をしていたto_a
、count
を、それぞれ、full_messages
、size
のaliasとして定義するよう修正、及びempty?
メソッドのリファクタリングを行っています。
Require the extensions to tests pass in isolation
activesupport/test/array_inquirer_test.rb
の修正です。
不足していたactive_support/core_ext/array
のrequireを追加しています。
[ci skip] Combine complementary AR #find doc lines
activerecord/lib/active_record/relation/finder_methods.rb
のdocの修正です。
find
メソッドでレコードが見つからなった場合の挙動についての説明を修正しています。
Require Module#delegate core ext in ActiveModel::Naming
activemodel/lib/active_model/naming.rb
の修正です。
Module#delegate
メソッドを使用しているのにactive_support/core_ext/module/delegation
のrequireが無かったので、requireを追加しています。
use Model.reset_column_information to clear table cache connection wide.
activerecord/test/cases/persistence_test.rb
、
activerecord/test/cases/primary_keys_test.rb
の修正です。
テストの後処理でreset_column_information
を呼び出すよう修正しています。
テストの中でtableの情報を変更していまっているものがあり、その影響でテストがコケてしまう場合がある為、カラム情報を初期化する為に追加したようです。
Fix doc: set_callback also accepts an array of if:
activesupport/lib/active_support/callbacks.rb
のdocの修正です。
set_callback
doc内の、if
、unless
オプションの値にArrayクラスも指定可能である旨説明を修正しています。
[ci skip] Replace query methods
with a predicate
activesupport/lib/active_support/core_ext/module/aliasing.rb
のdocの修正です。
alias_attribute
メソッドが提供するメソッドの一覧に誤った説明があったのを修正しています。
remove extra newline from ApplicationJob template
railties/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb
の修正です。
クラスの中に不要な空行があったのを削除しています。