2017/09/17分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #30617 from y-yagi/dont_expose_activestorage_routes
activestorage/config/routes.rb
の修正です。
Active Storageで定義されているroutesをユーザに表示しないよう修正しています。
これらのroutesはActive Storageが内部で使用する為のroutesで、ユーザが直接使用するroutesではない為。
Remove frozen_string_literal magic comment from templates
railtiesの修正です。
各templateファイルからfrozen_string_literal: true
を削除しています。 Remove frozen_string_literal magic comment from templatesのフォローアップ対応。
Add local option to Message form [ci skip]
activestorage/README.md
の修正です。
Active Storageのexample内のform_with
メソッドの引数にlocal: true
を指定しています。XHRで処理を行う想定のexampleでは無い為。
Fix file missing in activestorage’s example code [ci skip]
Active Storageのdocの修正です。
ファイルを直接オープンする場合のexampleの、ファイルパスを絶対パスで指定するよう修正しています。
rails guideのThe Basics of Creating Rails plugins
の修正です。
Add a Class Method
の項、test/dummy
をバッククォートで囲むよう修正しています。
Fix docs describing rollback [ci skip]
activerecord/lib/active_record/migration.rb
のdocの修正です。
doc内のrollback処理について説明している箇所でmigrate
taskを使用していたのを、rollback
taskを使用するよう修正しています。
Add mini_magick
to default Gemfile
as comment
railties/lib/rails/generators/rails/app/templates/Gemfile
の修正です。
デフォルトで生成されるGemfileにmini_magick
を追加しています。
Active Storageで画像のtransformを使用する際に必要な為。
Provide initialization of Active Storageの方の対応に含まれてるかと思ったのですが、こっちはGemfileの修正は入って無いのかー。