2018/02/02分のコミットです。
CHANGELOGへの追加はありませんでした。
Allow ActiveStorage::Blob#service_url
to pass addition options to service.url
.
activestorage/app/models/active_storage/blob.rb
の修正です。
ActiveStorage::Blob#service_url
メソッドに渡した引数をservice.url
メソッドに渡すよう修正しています。
serviceによっては現状渡している引数だけ足りないサービスがあるため、との事です。例として、alibabacloudが記載されています。Image Service access rules - Image Processing Guide| Alibaba Cloud Documentation Center
PERF: Recover marshaling dump/load performance (#31827)
activemodel/lib/active_model/attribute_set/builder.rb
の修正です。
LazyAttributeHash
をmarshalingする際に、materialize
メソッドを使用していたのを、使用しないよう修正しています。
元々@default
変数にProcを使用している為にmarshaling
メソッドを呼び出すようにしていたのですが、そのProcはChange how AttributeSet::Builder
receives its defaultsで削除され、かつ、marshaling
メソッドの処理は重い為、使用しないよう修正しています。