2024/02/27分のコミットです。
CHANGELOGへの追加はありませんでした。
Add punctuation on some newly added API docs [ci skip]
activerecord/lib/active_record/transactions.rb
のdocの修正です。
ActiveRecord::Transactions
module配下の各メソッドのdocについてフォーマットを修正しています。
Do not always mark the default translation as html safe
actionpack/lib/abstract_controller/translation.rb
、
activesupport/lib/active_support/html_safe_translation.rb
の修正です。
translate
メソッドでdefault translationを必ずhtml safeと見なしていたのを、_html
suffixが指定された場合のみhtml safeと見なし、それ以外の場合は明示的にhtml escape処理を実行しhtml safeになるよう修正しています。
Use Kernel#Array
to wrap the default value
actionpack/lib/abstract_controller/translation.rb
、
activesupport/lib/active_support/html_safe_translation.rb
の修正です。
translate
メソッドでoptions
のチェックをする際、Array
でwrapして必ず値がArrayになるよう修正しています。
Merge pull request #50128 from thiagopradi/main
Action Packのテストの修正です。
使用していないfixtureを削除しています。
[ci skip]Fix documentation and sample code for ActiveSupport::Logger.logger_outputs_to?
activesupport/CHANGELOG.md
、
activesupport/lib/active_support/logger.rb
の修正です。
ActiveSupport::Logger.logger_outputs_to?
のexampleコードが実際には動作しないコードになっていたのを修正しています。
activesupport/CHANGELOG.md
の修正です。
行末尾の不要な空白を削除しています。
Don't require an active connection for table and column quoting
Active Recordの修正です。
tableとcolumnのquote処理をactive connectionを取得せずに行えるよう修正しています。他のconnection関連のリファクタリング同様、PoC: Add an option to disable connection checkout cachingの対応の一環。