2018/02/08分のコミットです。
CHANGELOGへの追加はありませんでした。
Fix blob.service_url
for supports string or nil :filename
option.
activestorage/app/models/active_storage/blob.rb
の修正です。
ActiveStorage::Blob#service_url
メソッドのfilename
オプションにStringを渡せるよう修正しています。
元々はblob.service_url(filename: ActiveStorage::Filename.new("new.txt"))
とする必要があったのですが、これをblob.service_url(filename: "new.txt")
とすることができます。
Do not add master key when RAILS_MASTER_KEY
env specified (#31922)
railties/lib/rails/commands/credentials/credentials_command.rb
、
railties/lib/rails/commands/encrypted/encrypted_command.rb
の修正です。
credentials:edit
、及び、encrypted:edit
コマンドでRAILS_MASTER_KEY
envが指定されている場合もmaster keyファイルを生成してしまうバグがあったのを修正しています。
activesupport/test/core_ext/duration_test.rb
の修正です。
yaml
のrequireが不足していたので追加しています。
Add docs on how to configure Active Storage
rails guideのConfiguring Rails Applications
の修正です。
Configuring Active Storage
の項を追加し、Active Storageのconfigについての説明を追加しています。
Merge pull request #31925 from composerinteralia/semicolon
rails guideのSecuring Rails Applications
の修正です。
パスワードについて説明していたGood Passwords
の項をまるまる削除しています。
良いパスワードについて議論する事はRailsの責務の範囲ではないだろう、という事で削除されました。