なるようになるブログ

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

rails commit log流し読み(2017/08/20)

2017/08/20分のコミットです。

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


Attributes are protected, not private, to avoid the warning

actioncable/lib/action_cable/remote_connections.rbの修正です。

ActionCable::RemoteConnections::RemoteConnectionクラスのserver変数の可視性をprivateからprotectedに変更しています。privateだとRuby 2.2系でwarning(private attribute?)が出てしまう為。


Update database config in The Rails Comamnd Line of guide [ci skip]

rails guideのThe Rails Command Lineの修正です。

Rails with Databases and SCMの項にあるconfig/database.ymlの内容が古いままになっていたのを修正しています。


Update The Rails Initialization Process of guide [ci skip]

rails guideのThe Rails Initialization Processの修正です。

config/boot.rbの項にあるRails applicationがデフォルトで使用するgemの一覧にactioncableactivestorageを追加、及び、guide内にある各コードを最新の内容に更新しています。


Register integer types limit correctly for postgresql adapter (#26386)

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

Postgresql adapterでinteger typesのlimitが正しく登録されていなかったのを、正しい値を登録するよう修正しています。


Update Debugging Rails Applications guide [ci skip]

rails guideのDebugging Rails Applicationsの修正です。

Sending Messagesの項にあるcontroller action実行時のログの内容が古い内容だったのを更新しています。