2017/11/08分のコミットです。
CHANGELOGへの追加はありませんでした。
Do not run active_storage:install
when bundle install is skipped
railties/lib/rails/generators/app_base.rb
の修正です。
bundle installがスキップされた場合、active_storage:install
タスクを実行しないよう修正しています。
active_storage:install
はrails
コマンドを使用して実行されるのですが、bundle installが実行されていない場合rails
コマンドは失敗してしまう(可能性がある)為。
Remove unnecessary migration deletion
railtiesのテストの修正です。
テストの各箇所でdb/migrate
を削除していたのを、削除しないよう修正しています。
active_storage:install
タスクでインストールされたmigrationファイルを削除する為に上記処理を行っていたのですが、先のコミットの影響でテスト中ではactive_storage:install
タスクが実行されなくなり、migrationファイルの削除処理が不要になった為。
Fix output of select_tag
with include_blank: true
[ci skip]
actionview/lib/action_view/helpers/form_tag_helper.rb
のdocの修正です。
select_tag
メソッドのdoc内、include_blank: true
を指定した場合のexampleにlabel
属性を追加しています。
Add empty label to empty options tagでlabel
属性も強制的に出力するよう挙動が変更になった為。
Use released redis-namespace
instead of master version
Gemfile
の修正です。
redis-namespace
を使用するのにGitHubのmaterブランチを直接指定していたのを、リリース済みのgemを使用するよう修正しています。
Don't expose internal methods in Preloader::ThroughAssociation
activerecord/lib/active_record/associations/preloader/through_association.rb
の修正です。
内部でだけで使用するPreloader::ThroughAssociation#through_reflection
、#source_reflection
メソッドの可視性をprivateに変更しています。
Don't expose accessors which are internal used only
activerecord/lib/active_record/associations/preloader.rb
、
activerecord/lib/active_record/associations/preloader/association.rb
の修正です。
内部でだけで使用する accessorsの可視性をprotected
に変更しています。