2020/02/21分のコミットです。
CHANGELOGへの追加はありませんでした。
Gemfile.lock
の修正です。
rubocop
のバージョンを0.80に更新しています。
Fix/improve strict_loading
examples [ci skip]
activerecord/CHANGELOG.md
、
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
strict_loading
のexampleでコードが不足・誤っていた箇所があったのを修正しています。
Remove validations from example components
Action Pack、Action Viewのテストの修正です。
componentsのテストからActiveModel::Validations
をcomponentsで使用した場合のテストを削除しています。
このテストを追加したGitHubではcomponentでvalidationを使用しないようにした、かつ、render_in
APIと互換性のあるテストしておいた方が良いのでは、という事で削除されています。
Merge pull request #38394 from javiyu/fix-double-object-on-inverse-creation
activerecord/lib/active_record/associations/collection_association.rb
、
activerecord/lib/active_record/nested_attributes.rb
の修正です。
has_many_inversing
にtrueを指定している状態で、保存前に親レコードにアクセスした場合に、保存時にレコードが複数作られてしまうバグがあったのを修正しています。
Enable HashTransformKeys and HashTransformValues cops
Style/HashTransformKeys
、Style/HashTransformValues
copを追加、及び、各ファイルにcopを適応しています。
Rewrite JavaScript guide to use ES6
rails guideのWorking with JavaScript in Rails
の修正です。
各箇所の説明がCoffeeScript + jQueryを使う前提の説明になっていたのを、素のJavaScriptを使用するよう説明及びexampleコードを修正しています。