diff options
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/CHANGELOG | 4 | ||||
-rw-r--r-- | actionmailer/lib/action_mailer/adv_attr_accessor.rb | 3 | ||||
-rw-r--r-- | actionmailer/lib/action_mailer/helpers.rb | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index f864dc92e3..bf23f7b4dd 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,3 +1,7 @@ +*SVN* + +* Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.] + * Correct spurious documentation example code which results in a SyntaxError. [Marcel Molina Jr.] *1.2.1* (April 6th, 2006) diff --git a/actionmailer/lib/action_mailer/adv_attr_accessor.rb b/actionmailer/lib/action_mailer/adv_attr_accessor.rb index 50afe4d742..cfd723011a 100644 --- a/actionmailer/lib/action_mailer/adv_attr_accessor.rb +++ b/actionmailer/lib/action_mailer/adv_attr_accessor.rb @@ -1,7 +1,6 @@ module ActionMailer module AdvAttrAccessor #:nodoc: - def self.append_features(base) - super + def self.included(base) base.extend(ClassMethods) end diff --git a/actionmailer/lib/action_mailer/helpers.rb b/actionmailer/lib/action_mailer/helpers.rb index b53326ca72..ee7523a507 100644 --- a/actionmailer/lib/action_mailer/helpers.rb +++ b/actionmailer/lib/action_mailer/helpers.rb @@ -1,8 +1,6 @@ module ActionMailer module Helpers #:nodoc: - def self.append_features(base) #:nodoc: - super - + def self.included(base) #:nodoc: # Initialize the base module to aggregate its helpers. base.class_inheritable_accessor :master_helper_module base.master_helper_module = Module.new |