diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-07-23 00:36:34 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-07-24 01:19:44 +0200 |
commit | e1d4e78b15141cf940be7a84ca856425484a98be (patch) | |
tree | beeb97f6667df9c003d915ddac08d29fb9ded8e0 /actionmailer/lib/action_mailer | |
parent | 80cf6559ed0f35cc525c9f2f90cf483033f6dad7 (diff) | |
download | rails-e1d4e78b15141cf940be7a84ca856425484a98be.tar.gz rails-e1d4e78b15141cf940be7a84ca856425484a98be.tar.bz2 rails-e1d4e78b15141cf940be7a84ca856425484a98be.zip |
Removes unused vars
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/test_case.rb b/actionmailer/lib/action_mailer/test_case.rb index b91eed592a..f4d1bb59f1 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -28,7 +28,7 @@ module ActionMailer def determine_default_mailer(name) name.sub(/Test$/, '').constantize - rescue NameError => e + rescue NameError raise NonInferrableMailerError.new(name) end end |