なるようになるブログ

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

rails commit log流し読み(2017/08/08)

2017/08/08分のコミットです。

CHANGELOGへの追加はありませんでした。


[ci skip] Prefer cookies.encrypted over signed (#30129)

各docの修正です。

cookiesを使用するexampleで、古いsigned cookiesを使用している箇所があったのを、encrypted cookiesを使用するよう修正しています。


[ci skip] Update action_mailer_basics.md

rails guideのAction Mailer Basicsの修正です。

Sending Emailsの項、app/mailersをバッククォートで囲むよう修正しています。


[ci skip] Postgres –> PostgreSQL

各docの修正です。

PostgresPostgreSQLに修正しています。


Support content_type in AzureStorageService#url

activestorage/lib/active_storage/service/azure_storage_service.rbの修正です。

AzureStorageService#urlメソッドにcontent_typeを指定出来るよう修正しています。

他のserviceクラス(GCSServiceS3Service)と引数を合わせる為。


ActiveStorage:Add migrations per rails engine conventions (#30111)

Active Storageの修正です。

Active で使用するテーブルを作成する為のmigrationファイルのインストール用タスクを独自に定義していたのを、rails engineが提供しているrakeタスクを使用するよう修正しています。

Active Storageはrails engineとして実装されており、engine用のrakeタスクがそのまま使用出来る為。