2022/05/21分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activemodel/CHANGELOG.md
Don't call controller's headers method internally
actionpack/lib/action_controller/metal/rendering.rb
の修正です。
headers
を書き換えるのにself
を使用していたのを使用しないよう修正しています。controllerにheaders
メソッドが定義されている場合に、controllerの方のメソッドが呼ばれてしまうのを避ける為。
Support infinite ranges for LengthValidator
s :in
/:within
options
activemodel/lib/active_model/validations/length.rb
の修正です。
LengthValidatorのin
、with
オプションにinfinite rangesを指定できるよう修正しています。
add header for devcontainers, this serves two purposes: [ci-skip] (#45129)
rails guideのContributing to Ruby on Rails
の修正です。
devcontainersについて説明している箇所にヘッダーを追加しています。
Adds Deferrable Foreign Keys section to Active Record and PostgreSQL guide (#43812)
rails guideのActive Record and PostgreSQL
の修正です。
foreign Keysをdeferrableする方法について説明したDeferrable Foreign Keys
セクションを追加しています。
add section for host header attack prevention in rails security guide (#43330)
rails guideのSecuring Rails Applications
の修正です。
DNS rebinding及びhost header攻撃について説明したDNS rebinding and Host header attacks
セクションを追加しています。
rails guideのSecuring Rails Applications
の修正です。
DNS Rebinding and Host Header Attacks
セクションのヘッダー名を修正しています。
Add examples of empty passwords for authenticate by
activerecord/lib/active_record/secure_password.rb
のdocの修正です。
authenticate_by
メソッドのdocにpasswordを空にする場合のexampleを追加しています。
Merge pull request #45120 from p8/guides/expand-security-headers-guide
rails guideのSecuring Rails Applications
の修正です。
デフォルトのヘッダーについてそれぞれ個別に説明を行うよう修正、各箇所のグラマーの修正、等を行っています。
Merge pull request #45104 from dorianmariefr/add-alias-for-method-method-for-debugging
actionpack/lib/action_dispatch/http/request.rb
の修正です。
ActionDispatch::Request#method
に引数が指定されていた場合、Object#method
にdelegateするよう修正しています。method(:POST).source_location
等のmethod
を使用したデバッグが出来るようにする為。