diff options
author | Marcel Molina <marcel@vernix.org> | 2006-04-29 18:10:14 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2006-04-29 18:10:14 +0000 |
commit | 61864909628f5ac2f20d3337e0274dab016ac7c5 (patch) | |
tree | 86a8cc11110b1009f23fe0c72a6138f8ac45d31a /actionpack/lib/action_controller/macros | |
parent | df26041c8990d4a0276e7a4c77cc771ac38e176e (diff) | |
download | rails-61864909628f5ac2f20d3337e0274dab016ac7c5.tar.gz rails-61864909628f5ac2f20d3337e0274dab016ac7c5.tar.bz2 rails-61864909628f5ac2f20d3337e0274dab016ac7c5.zip |
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/macros')
-rw-r--r-- | actionpack/lib/action_controller/macros/auto_complete.rb | 3 | ||||
-rw-r--r-- | actionpack/lib/action_controller/macros/in_place_editing.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/macros/auto_complete.rb b/actionpack/lib/action_controller/macros/auto_complete.rb index 917f151e03..c320ae79e1 100644 --- a/actionpack/lib/action_controller/macros/auto_complete.rb +++ b/actionpack/lib/action_controller/macros/auto_complete.rb @@ -4,8 +4,7 @@ module ActionController # backing. module Macros module AutoComplete #:nodoc: - def self.append_features(base) #:nodoc: - super + def self.included(base) #:nodoc: base.extend(ClassMethods) end diff --git a/actionpack/lib/action_controller/macros/in_place_editing.rb b/actionpack/lib/action_controller/macros/in_place_editing.rb index 30e94c51a9..40b083e3fc 100644 --- a/actionpack/lib/action_controller/macros/in_place_editing.rb +++ b/actionpack/lib/action_controller/macros/in_place_editing.rb @@ -1,8 +1,7 @@ module ActionController module Macros module InPlaceEditing #:nodoc: - def self.append_features(base) #:nodoc: - super + def self.included(base) #:nodoc: base.extend(ClassMethods) end |