2016/07/16分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #25826 from javan/actionview/trim-digestor-template-lookups
actionview/lib/action_view/digestor.rb
の修正です。
ActionView::Digestor#tree
メソッドでtemplateのlookupを行う際、#exists?
で存在チェックしてから再度#find
処理を行う、という風に2回lookup処理を行っていたのを、一度だけlookup処理を行うよう修正しています。
rails guideのA Guide to Testing Rails Applications
の修正です。
Setting Headers and CGI variables
項内のexampleコード内のHashに{}
が不足している箇所があったのを修正しています。
Update references generation docs to exclude index
rails guideのActive Record Migrations
の修正です。
Pare back default `index` option for the migration generatorでreferences
migrationsで生成したmigrationのコードにはindex
オプションを設定しないようになった(デフォルトでindexを生成する為)のですが、ガイド内のreferences
migrationsで生成したexampleコードにindex: true
オプションが残ってしまっていた為、削除しています。
activerecord/test/cases/migration/references_statements_test.rb
の修正です。
add_reference
メソッドにindex_opion
を指定してないでもidのindexを作成する事を確認するテストのテスト名に誤りがあったのを修正しています。