2022/01/09分のコミットです。
CHANGELOGへの追加はありませんでした。
fix ApplicationController path on Action View guides
rails guideのAction View Overview
の修正です。
古いcontroller名(app/controllers/application.rb
)を使用している箇所が残っていたのを修正しています
Remove assert_not_called Object#=~ here for Ruby 3.2 compat
activerecord/test/cases/relation/mutation_test.rb
の修正です。
Object#=~
が呼ばれない事をチェックしているassertionを削除しています。Ruby 3.2でObject#=~
が削除されており、assertionがあるとRuby 3.2でエラーになってしまう為。
Documentation Working with Javascript Fix remote: true (#44123)
rails guideのWorking with JavaScript in Rails
の修正です。
Ajax requestについて説明している箇所のexampleコードで、formの送信がAjaxにならないコードになっていたのを修正しています。
Fix example related to comparison
in Active Record Validations guide
rails guideのActive Record Validations
の修正です。
comparison
validationのexampleコードが、start_date
がend_date
大きい事、というvalidationをしていたのを、逆に修正しています。