2020/03/25分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Support order DESC for find_each, find_in_batches and in_batches
activerecord/lib/active_record/relation/batches.rb
の修正です。
バッチ処理用のメソッド(find_each
、find_in_batches
、in_batches
)でorderを指定出来るよう修正しています。
Person.find_each(order: :desc) do |person| person.party_all_night! end
Restore the lookup_store
compatibility to accept config as a single object
activesupport/lib/active_support/cache.rb
の修正です。
lookup_store
にArrayを渡した場合のstore検索の挙動がmasterとリリース済みのバージョンで異なってしまっていたのを、リリース済みのバージョンと同じ挙動になるよう修正しています。
Adds default message for :only_integer validation
rails guideのActive Record Validations
の修正です。
numericality
の項に、only_integer
のデフォルトメッセージについての説明を追加しています。