2018/04/09分のコミットです。
CHANGELOGへの追加はありませんでした。
Avoid generating full changes hash on every save
activemodel/lib/active_model/attribute_mutation_tracker.rb
、
activerecord/lib/active_record/attribute_methods/dirty.rb
の修正です。
save
実行時に毎回変更されたattributesのHashを生成していたのを、AttributeMutationTracker
経由で変更されたattributeのnameだけ取得するよう修正しています。
PERF: Recover changes_applied
performanceで一度入った対応だったのですが、Revert "PERF: Recover changes_applied
performance (#31698)"で誤って(意図的?)削除されてしまった為、再度入れています。
Improve the null origin error message
actionpack/lib/action_controller/metal/request_forgery_protection.rb
の修正です。
request originのチェックで、originがnullだった場合に出力するエラーメッセージのグラマーの修正を行っています。