Browse files

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
  • Loading branch information...
1 parent 2916686 commit f33963aa3aba0d242f8faedbfe858f129e24ae03 @jeremy jeremy committed Apr 1, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/lib/action_mailer/helpers.rb
View
2 actionmailer/lib/action_mailer/helpers.rb
@@ -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

0 comments on commit f33963a

Please sign in to comment.