なるようになるブログ

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

rails commit log流し読み(2017/11/22)

2017/11/22分のコミットです。

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


Fix that some ASt route helpers silently discarded options

activestorage/config/routes.rbの修正です。

Active Storage routes helperにoptionを渡せなかったのを、渡せるよう修正しています。


Fix loading ActiveStorage::DiskController when CSRF protection is disabled by default

activestorage/app/controllers/active_storage/disk_controller.rbの修正です。

default_protect_from_forgeryが設定されているときのみ、skip_forgery_protectionを指定するよう修正しています。default_protect_from_forgeryがfalseのときはskip_forgery_protectionの指定は不要の為。


Fix generator suggestion raise error when I18n.available_locales don't include :en

railties/lib/rails/generators.rbの修正です。

使用できるlocaleにenを含んでいない場合に、generatorのサジェストがエラーになってしまうバグがあったのを修正しています。