diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-27 19:37:47 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-27 19:38:17 -0800 |
commit | 452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe (patch) | |
tree | 5145ae6ce81a817e29b96134b3adae75898ba30a /actionmailer/lib/action_mailer/deprecated_api.rb | |
parent | 079714277df4641a24513b2595c0237293f48512 (diff) | |
download | rails-452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe.tar.gz rails-452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe.tar.bz2 rails-452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe.zip |
Rename 'defaults' class method to 'default' to reflect that it's a declaration
Diffstat (limited to 'actionmailer/lib/action_mailer/deprecated_api.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/deprecated_api.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/deprecated_api.rb b/actionmailer/lib/action_mailer/deprecated_api.rb index 36eec1087e..54ad18f796 100644 --- a/actionmailer/lib/action_mailer/deprecated_api.rb +++ b/actionmailer/lib/action_mailer/deprecated_api.rb @@ -14,7 +14,7 @@ module ActionMailer def self.default_#{method}=(value) ActiveSupport::Deprecation.warn "ActionMailer::Base.default_#{method}=value is deprecated, " << - "use defaults :#{method} => value instead" + "use default :#{method} => value instead" @@default_#{method} = value end @@ -136,4 +136,4 @@ module ActionMailer end end -end
\ No newline at end of file +end |