2021/01/24分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activestorage/CHANGELOG.md
Fix code block in Webpacker Guide [ci skip]
rails guideのWebpacker
の修正です。
フォーマットが崩れている箇所があったのを修正しています。
Remove wrong usage for arel_table
[ci skip]
activerecord/lib/active_record/core.rb
のdocの修正です。
arel_table
のdocにarel_table
の誤った使い方の説明があったのを削除しています。
Restore ActiveStorage::Blob#find_signed
activestorage/app/models/active_storage/blob.rb
の修正です。
public methodであるActiveStorage::Blob#find_signed
がRails 6.1で削除されてしまっていたのを、再度使用出来るよう修正しています。
Handle throwing in controller action in log subscriber
actionpack/lib/action_controller/log_subscriber.rb
の修正です。
controller actionでthrow
を使用して、それをRack middlewareでcatchする、という処理を記載していた場合に、ActionController::LogSubscriber
でエラーになってしまうバグがあったのを修正しています。
Improve Fixture support for Active Storage (#41065)
Active Storageの修正です。
fixtureでActive Storageのblobの定義を行う為のActiveStorage::FixtureSet.blob
メソッドを追加しています。
# fixtures/active_storage/blobs.yml first_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob filename: "first.png" %>
Improve ActionText::FixtureSet documentation (#41062)
rails guideのTesting Rails Applications
、及び、actiontext/lib/action_text/fixture_set.rb
のdocの修正です。
fixturesでAction Textを使用する場合の説明、及び、exampleを追加しています。