2020/03/05分のコミットです。
CHANGELOGへの追加はありませんでした。
Properly close a tag to avoid errors with some ruby versions
railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.ttの修正です。
コメントの指定を<%-# ... %>から<%-# ... -%>に修正しています。最初の書き方だとRuby 2.5.0でエラーになってしまう為。
Deduplicate Module#module_parent_name cache
activesupport/lib/active_support/core_ext/module/introspection.rbの修正です。
Module#module_parent_nameでString#+@を使用してfreeze済みの場合は複製を使用するよう修正しています。
Merge pull request #38634 from qubis741/master
rails guideのActive Storage Overviewの修正です。
Direct uploadのexampleコードがXSS脆弱性があるコードになっていた(ファイル名に不正なJS等が含まれていた場合に、それが実行出来る状態になっていた)のを、サニタイズされたファイル名を使用するよう修正しています。
Merge pull request #38624 from geoffharcourt/guides-update-missing-translation-examples
rails guideのRails Internationalization (I18n) APIの修正です。
Using Different Exception Handlersの項にあるexception hanlderのexampleで参照するExceptionクラス名を誤っていたのを修正していmさう。
activesupport/lib/active_support/core_ext/module/introspection.rbの修正です。
文字列の末尾かどうかをチェックしたい正規表現で\Zを使用してしまっていたのを、\zを使用するよう修正しています。
Merge pull request #38631 from Schwad/master
railtiesの修正です。
rails newにmasterオプションを追加しています。masterを指定した場合、GitHubのrails/railsのmasterブランチを指定した状態でGemfileが生成されるようになります。
refactor: Refactored code in functions of query_methods.
Remove unused space from disk controller of activestorage
activestorage/app/controllers/active_storage/disk_controller.rbの修正です。
(不要と思われる)空行を削除しています。
Merge pull request #38641 from yashLadha/refactor/query_methods
activerecord/lib/active_record/relation/query_methods.rbの修正です。
preprocess_order_args内の一部処理をメソッドに切り出すようリファクタリングしています。
Use index_by and index_with wherever possible
each_with_objectやmapを使っていた箇所を、index_byとindex_withを使うよう修正しています。