diff options
author | José Valim and Mikel Lindsaar <pair@programming.com> | 2010-01-22 11:01:21 +0100 |
---|---|---|
committer | José Valim and Mikel Lindsaar <pair@programming.com> | 2010-01-22 11:01:21 +0100 |
commit | 343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d (patch) | |
tree | 439992c4ec44061fb8ac71748a204cd459f0b335 /actionmailer/lib/action_mailer/tmail_compat.rb | |
parent | 8a6a2ca712601a28087f78fb6080b05f526cb0fd (diff) | |
download | rails-343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d.tar.gz rails-343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d.tar.bz2 rails-343ac48f45a433b2ef0dc67f9cd9d1245fb5ef2d.zip |
Moved deprecated_body.rb to deprecatead_api.rb
Diffstat (limited to 'actionmailer/lib/action_mailer/tmail_compat.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/tmail_compat.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionmailer/lib/action_mailer/tmail_compat.rb b/actionmailer/lib/action_mailer/tmail_compat.rb index da13aac677..d78332c135 100644 --- a/actionmailer/lib/action_mailer/tmail_compat.rb +++ b/actionmailer/lib/action_mailer/tmail_compat.rb @@ -3,7 +3,7 @@ module Mail def set_content_type(*args) ActiveSupport::Deprecation.warn('Message#set_content_type is deprecated, please just call ' << - 'Message#content_type with the same arguments.', caller[0,10]) + 'Message#content_type with the same arguments', caller[0,10]) content_type(*args) end @@ -11,7 +11,7 @@ module Mail def transfer_encoding(value = nil) if value ActiveSupport::Deprecation.warn('Message#transfer_encoding is deprecated, please call ' << - 'Message#content_transfer_encoding with the same arguments.', caller[0,10]) + 'Message#content_transfer_encoding with the same arguments', caller[0,10]) content_transfer_encoding(value) else old_transfer_encoding @@ -20,7 +20,7 @@ module Mail def original_filename ActiveSupport::Deprecation.warn('Message#original_filename is deprecated, ' << - 'please call Message#filename.', caller[0,10]) + 'please call Message#filename', caller[0,10]) filename end |