2016/09/20分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #26447 from kamipo/reduce_array_allocation
activerecord/lib/active_record/relation/where_clause_factory.rb
の修正です。
ActiveRecord::Relation::WhereClauseFactory#build
で引数がHash
の場合に不要な空配列を生成しないよう修正しています。
Always store errors details information with symbols https://github.com/rails/rails/commit/d406014b03e08d85277228ef0f71f2e8464a8cbf
activerecord/lib/active_record/autosave_association.rb
の修正です。
associationのautosaveでエラーになった際に、errors detailsに値がStringとして格納されていたのを、Symbolとして保持するよう修正しています。
# before molecule.errors.details["electrons.name"] # after molecule.errors.details[:"electrons.name"]
Errors#add
やErrors#messages
はすべてSymbolで値を取り扱うようになっており、それに合わせる為。
activejob/lib/active_job/queue_adapters.rb
のdocの修正です。
resqueへのリンクが壊れてしまっていたのを修正しています。
Restore missing Gemfile.lock entries
Gemfile.lock
の修正です。
Override the github git source instead of changing manually all entries · rails/rails@12d5c21の対応で消えてしまったgemのentryがあったのを戻しています。