なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2021/08/16)

2021/08/16分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activestorage/CHANGELOG.md


Merge pull request #43021 from basecamp/encryption-lenght-validation

activerecord/lib/active_record/encryption/encryptable_record.rbの修正です。

Encryptable recordsについて、現在不要なtableの存在チェック処理の削除、及び、不要なインスタンス生成処理の削除を行っています。


Merge pull request #43013 from basecamp/encryption-store-attributes

activerecord/lib/active_record/encryption/encrypted_attribute_type.rbの修正です。

Active Record encryptionを store attributesに対しても動作するよう修正しています。


Merge pull request #43007 from FestaLab/activestorage/tiff-size

activestorage/test/fixtures/files/racecar.tifの修正です。

テストで使うtiff imageのファイルサイズを減らすよう修正しています。


Merge pull request #41437 from tomprats/active-storage-byte-range

Active Storageの修正です。

Active Storageのファイルダウンロード処理でbyte range requestをサポートするよう修正しています。


[ci skip] Undocument send_blob_byte_range_data, don't commit to a public API just yet

activestorage/app/controllers/concerns/active_storage/streaming.rbのdocの修正です。

send_blob_byte_range_dataメソッドをprivate APIに変更しています。public APIにする必要は無い筈な為。


Merge pull request #42960 from FestaLab/activestorage/unsafe-redirect

activestorage/app/controllers/active_storage/blobs/redirect_controller.rbactivestorage/app/controllers/active_storage/representations/redirect_controller.rbの修正です。

redirect用のcontrollerでredirect_toallow_other_host: trueオプションを指定するよう修正しています。 s3等のファイルをホスティングしているクラウドサービスにリダイレクト処理が行われる為。