2018/10/09分のコミットです。
CHANGELOGへの追加はありませんでした。
fix broken link in Action Cable guides and readme [ci skip]
rails guideのAction Cable Overview
、及び、actioncable/README.md
の修正です。
Action Cable + Deviseで認証をやる方法について説明したブログ(https://greg.molnar.io/blog/actioncable-devise-authentication/)へのリンクが壊れていたのを修正しています。
Fix directly uploading using a MIME type synonym
activestorage/app/controllers/active_storage/disk_controller.rb
の修正です。
ActiveStorage::DiskController#acceptable_content?
メソッドでcontent typeのチェックを行う際に、 MIME type synonymを使用するよう修正しています。
MIME typeにsynonymとして登録されているMIME(e.g.application/x-gzip
)が使用された場合にもチェックが通るようにする為。
Point to requiring the ASt engine in the installation instructions [ci skip]
activestorage/README.md
の修正です。
rails active_storage:install
がエラーになる場合、config/application.rb
にrequire "active_storage/engine"
があるか確認してください、という注記を追加しています。
Call define_attribute_methods
before assert_no_queries
to address CI flakiness
Active Recordのテストの修正です。
assert_no_queries
を使用する前にdefine_attribute_methods
を呼び出すよう修正しています。build
/ new
メソッドを実行する際にtable_exists?
メソッドが実行されてしまい、assert_no_queries
がエラーになってしまうのを避ける為。