diff options
author | José Valim and Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-21 20:03:55 +1100 |
---|---|---|
committer | José Valim and Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-21 20:03:55 +1100 |
commit | 3829f9ecfd6fcd54edbc15f624ee3b68f6dae135 (patch) | |
tree | f85c4fb58b38209ddbffc76f8c8e7ad26c4c6945 /actionmailer/lib/action_mailer/tmail_compat.rb | |
parent | fbdbac2b88218e5e3e6087c67dacf7e755aa4106 (diff) | |
download | rails-3829f9ecfd6fcd54edbc15f624ee3b68f6dae135.tar.gz rails-3829f9ecfd6fcd54edbc15f624ee3b68f6dae135.tar.bz2 rails-3829f9ecfd6fcd54edbc15f624ee3b68f6dae135.zip |
Adding tests for attachments['blah.rb'] = {} et al
Diffstat (limited to 'actionmailer/lib/action_mailer/tmail_compat.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/tmail_compat.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/tmail_compat.rb b/actionmailer/lib/action_mailer/tmail_compat.rb index 2fd25ff145..94f21c7cf3 100644 --- a/actionmailer/lib/action_mailer/tmail_compat.rb +++ b/actionmailer/lib/action_mailer/tmail_compat.rb @@ -16,5 +16,10 @@ module Mail end end + def original_filename + STDERR.puts("Message#original_filename is deprecated, please call Message#filename.\n#{caller}") + filename + end + end end
\ No newline at end of file |