以下の内容はhttps://y-yagi.hatenablog.com/entry/2018/02/03/064857より取得しました。


rails commit log流し読み(2018/02/02)

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メソッドの処理は重い為、使用しないよう修正しています。




以上の内容はhttps://y-yagi.hatenablog.com/entry/2018/02/03/064857より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14