なるようになるブログ

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

rails commit log流し読み(2016/12/21)

2016/12/21分のコミットです。

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


Merge pull request #27414 from matthewd/fix-xml-vs-html-assertion

actionpack/test/controller/test_case_test.rbの修正です。

xml出力のテストが昔あったhtml-scannerの実装を意識したテストになっていたのを、タグの生成が正しく行われる事を直接確認するよう修正しています。


[ci skip] Update initialization guide samples.

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

各コードのsampleをrailsの最新のコードに合わせるよう修正しています。


Bump concurrent-ruby and sprockets

Gemfile.lockの修正です。

concurrent-rubysprocketsのバージョンを最新版に更新しています。どちらも最新版でRuby 2.4サポートの対応が入っている為。


Limit length of secret being passed

railties/test/application/middleware/session_test.rbの修正です。

ActiveSupport::MessageEncryptorインスタンスを生成する際、keyに適切な長さの値を指定するよう修正しています。 Ruby 2.4では適切な長さのkeyを指定しないとエラーになってしまう為。


Add Ruby v2.4.0-rc1 to Travis matrix

.travis.ymlの修正です。

Travisのbuild matrixにRuby 2.4.0-rc1を追加しています。


Improve javascript_include_tag documentation (#27403)

actionview/lib/action_view/helpers/asset_tag_helper.rbのdocの修正です。

javascript_include_tagメソッドのdocに各オプションについての説明を追加しています。


Fix grammar in asset tag documentation

actionview/lib/action_view/helpers/asset_tag_helper.rbのdocの修正です。

javascript_include_tagメソッドのdoc内のグラマーの修正をしてます。


fix #create_fixtures when equal table names in different databases

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

異なるDB(connection)に同じテーブル名がある場合に、fixtureのロード処理が正しく動作しないバグがあったのを修正しています。