2015/02/09分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Explicitly ignored wildcard verbs from head_routes
actionpack/lib/action_dispatch/journey/router.rb
の修正です。
HEADリクエストのroutesを検索する際、routesのverbが//
になっているものを削除するよう修正しています。
rack appをroot(/
)にマウントしている際に、verb
が//
になるrouteを作成されてしまい、HEADメソッドでリクエストが404になってしまうバグがあった為、対応しています。
Remove warning from Plugin Generator
railties/lib/rails/generators/rails/plugin/plugin_generator.rb
の修正です。
wrap_in_modules
メソッドでwarning: shadowing outer local variable - content
のwarningが出ていたので、変数名を修正して対応しています。
Remove warning from ActionView::Helpers::Tags::Translator
actionview/lib/action_view/helpers/tags/translator.rb
の修正です。
warning: private attribute?
のwarningが出ていたので、インスタンス変数の可視性をprivate
-> protected
に修正しています。
Remove warning from generator named base test
railties/test/generators/named_base_test.rb
の修正です。
warning: method redefined; discarding old pluralize_table_names
のwarningが出ていたので、NamedBaseTest
内でActiveRecord::Base
にpluralize_table_names
メソッドを定義していたのを、削除しています。
tests, reset global to previous value.
railties/test/generators/named_base_test.rb
の修正です。
test_named_generator_attributes_without_pluralized
でpluralize_table_names
の値を変更していたので、後処理で元の値に戻すよう修正しています。