2020/08/12分のコミットです。
CHANGELOGへの追加はありませんでした。
fix: warning: instance variable @controller not initialized
actionpack/lib/action_dispatch/testing/assertions/routing.rb
の修正です。
warning: instance variable @controller not initialized
のwarningが出ていたのを対応しています。
Document the --database/--db option for multiple database Rails application [skip ci]
rails guideのThe Rails Command Line
の修正です。
bin/rails dbconsole
について説明している箇所に、primary以外のDBに接続する方法についての説明を追加しています。
Identify directly-uploaded blobs before saving the associated record
Active Storageの修正です。
direct upload実行時にblobのcontent typeのチェック処理が行われてない(content typeの設定が親レコードの保存後に行われていた)のを、content typeの設定順を修正し、親レコード保存時にチェック処理が行われるよう修正しています。
Updated security.md to include default_protect_from_forgery
rails guideのSecuring Rails Applications
の修正です。
CSRF Countermeasures
の項に、config.action_controller.default_protect_from_forgery
configについての説明を追加しています。
actionview/test/abstract_unit.rb
の修正です。
Action Viewのunit testでArgumentError
が発生してしまう事があったのを対応しています。
Merge pull request #39971 from jonathanhefner/docs-baseline-defaults
rails guideのConfiguring Rails Applications
の修正です。
load_defaults
で値が設定されるconfigについて、load_defaults
で設定される前の元の値についてまとめて説明したBaseline defaults:
セクションを追加しています。