2022/02/18分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #44174 from jguecaimburu/add_lowdash_support_to_path_parser_locale_regex
actionview/lib/action_view/template/resolver.rb
の修正です。
templateにlowdashを含むlocale(e.g. :es_AR
)が指定出来ないバグがあったのを修正しています。
Merge pull request #43390 from jhawthorn/remove_notification_event_children
Active Support、Action Viewの修正です。
ActiveSupport::Subscriber
でsubscriberの"child" eventで保持していたのを、保持しないよう修正しています。
childのeventまで保持しておく必要は無いはず、かつ、childのeventまで保持している影響でオブジェクトを大量に保持しておく必要があり、OOMの原因になる可能性がある、等の問題がある為修正されました。
Fix rdoc for session_store documentation [ci-skip]
railties/lib/rails/application/configuration.rb
のdocの修正です。
session_store
のdocのフォーマットを修正しています。
Fix links in CSP documentation [ci-skip]
actionpack/lib/action_dispatch/http/content_security_policy.rb
のdocの修正です。
doc内のリンクのフォーマットが壊れていたのを修正しています。
Add documentation for controller CSP methods [skip-ci]
actionpack/lib/action_controller/metal/content_security_policy.rb
のdocの修正です。
各メソッドにdocを追加しています。
form_for
: Attempt to call to_model
on record
actionview/lib/action_view/helpers/form_helper.rb
の修正です。
form_for
でrecordのto_model
を必ず呼び出すよう修正しています。独自にto_model
メソッドを定義している場合に正しく動作するようにする為。
rails guideのGetting Started with Rails
の修正です。
現在generatorが生成するファイルや画面の表示内容と一致しない箇所があったのを修正しています。
activesupport/lib/active_support/inflector/methods.rb
の修正です。
blank?
を使用する必要が無い箇所をempty?
に修正しています。
Improve Content Security Policy documentation [ci-skip]
actionpack/lib/action_dispatch/http/content_security_policy.rb
のdoc、及び、rails guideのSecuring Rails Applications
の修正です。
Content Security Policy関連のdocについて、用語や言い回しの修正を行っています。