diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-04-01 06:11:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-04-01 06:11:22 +0000 |
commit | f33963aa3aba0d242f8faedbfe858f129e24ae03 (patch) | |
tree | 16f0e93b3d669aef12095a08b4d137ca31f69bba /actionmailer | |
parent | 2916686c95bd2b52b54fcc0c65fe3f6043f47760 (diff) | |
download | rails-f33963aa3aba0d242f8faedbfe858f129e24ae03.tar.gz rails-f33963aa3aba0d242f8faedbfe858f129e24ae03.tar.bz2 rails-f33963aa3aba0d242f8faedbfe858f129e24ae03.zip |
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
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/lib/action_mailer/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/helpers.rb b/actionmailer/lib/action_mailer/helpers.rb index 7f20efb3c6..3e5ed9e9d7 100644 --- a/actionmailer/lib/action_mailer/helpers.rb +++ b/actionmailer/lib/action_mailer/helpers.rb @@ -95,7 +95,7 @@ module ActionMailer 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 |