Ruby 1.9 compat: anonymous class name is nil not '' now

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2008-04-01 06:11:22 +00:00
parent 2916686c95
commit f33963aa3a

@ -95,7 +95,7 @@ def inherited_with_helper(child)
child.master_helper_module.send! :include, master_helper_module
child.helper child.name.to_s.underscore
rescue MissingSourceFile => e
raise unless e.is_missing?("helpers/#{child.name.underscore}_helper")
raise unless e.is_missing?("helpers/#{child.name.to_s.underscore}_helper")
end
end
end