Skip to content
This repository
Browse code

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...
commit f33963aa3aba0d242f8faedbfe858f129e24ae03 1 parent 2916686
Jeremy Kemper jeremy authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionmailer/lib/action_mailer/helpers.rb
2  actionmailer/lib/action_mailer/helpers.rb
@@ -95,7 +95,7 @@ def inherited_with_helper(child)
95 95 child.master_helper_module.send! :include, master_helper_module
96 96 child.helper child.name.to_s.underscore
97 97 rescue MissingSourceFile => e
98   - raise unless e.is_missing?("helpers/#{child.name.underscore}_helper")
  98 + raise unless e.is_missing?("helpers/#{child.name.to_s.underscore}_helper")
99 99 end
100 100 end
101 101 end

0 comments on commit f33963a

Please sign in to comment.
Something went wrong with that request. Please try again.