2021/03/06分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actiontext/CHANGELOG.md
Fix typos and grammatical errors in autoloading guide
rails guideのAutoloading and Reloading Constants (Zeitwerk Mode)
の修正です。
各項のタイポ、グラマーの修正を行っています。
Merge pull request #41608 from abhaynikam/fix-async-query-test
activerecord/test/cases/asynchronous_queries_test.rb
の修正です。
値が一致するかを確認するのにassert
を使ってしまっていたのを、assert_equal
を使用するよう修正しています。
CollectionProxy#any? docs: Mention "load.any?"
activerecord/lib/active_record/associations/collection_proxy.rb
のdocの修正です。
CollectionProxy#any?
のメソッドのdocに、associationsをロードしたい場合はload.any?
を使用するのも良い旨注記を追加しています。
Use image/jpeg instead of non-standard image/jpg
mime typeにimage/jpg
を使用していた箇所を、image/jpeg
を使用するよう修正しています。image/jpeg
が正しいmime type(image/jpg
は存在しない)為。
参考: file - Is the MIME type 'image/jpg' the same as 'image/jpeg'? - Stack Overflow
Add config.action_text.attachment_tag_name
Action Textの修正です。
attachmentsをwrapするのに用するタグ名をconfig(config.action_text.attachment_tag_name
)で変更出来るよう修正しています。
Merge pull request #41564 from gmcgibbon/remove_require_dependency_in_templates
railtiesの修正です。
rails engine用のcontroller templateファイルから、application_controller
に対するrequire_dependency
を削除しています。zeitwerkを使用している場合は不要な為。