なるようになるブログ

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

rails commit log流し読み(2015/12/25)

2015/12/25分のコミットです。

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


Merge pull request #22785 from timrogers/master

actionpack/lib/action_dispatch/middleware/ssl.rbのdoc及び、 rails guideのConfiguring Rails Applicationsの修正です。

config.ssl_optionsについて、言い回しの修正、グラマーの修正等を行っています。


Merge pull request #22787 from kamipo/fix_varbinary_with_default_empty_string

activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rbの修正です。

MySQL adapterで、データ型がbinaryvarbinaryだった場合、かつデフォルトの値が空文字('')だった場合に、値にnilを設定していたのを削除しています。

古いMySQL adapter用に必要だったワークアラウンドとの事で、古いadapterのサポートを削除した為、処理自体を削除したとの事です。


Changed default value of :rc option to nil

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

Rails::Generators::AppBaseクラスのrcオプションのデフォルト値をfalseからnilに変更しています。rcオプションはString型であり、falseは値として不適切な為との事です。


[ActionCable] remove not needed protected call and newlines

actioncable/lib/action_cable/connection/base.rbactioncable/lib/action_cable/connection/subscriptions.rbの修正です。

重複していたprotectedの削除、及び不要な空行を削除しています。