diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-10-11 00:43:52 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-10-11 00:43:52 +0530 |
commit | 43f32f2f5db343e6345f63222976f73d1bd82e7f (patch) | |
tree | eebf6e2ccbac0037c97bce59bb1f846b18cf7f6c | |
parent | d5802adf8345aa85a8f17c5e0b9d42d85acf6758 (diff) | |
download | rails-43f32f2f5db343e6345f63222976f73d1bd82e7f.tar.gz rails-43f32f2f5db343e6345f63222976f73d1bd82e7f.tar.bz2 rails-43f32f2f5db343e6345f63222976f73d1bd82e7f.zip |
Revert "Fix Example in active model attribute methods"
This reverts commit 1c02b988641c201308e6b3de6457128878e47bd5.
-rw-r--r-- | activemodel/lib/active_model/attribute_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index 975b4a69bb..ef04f1fa49 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -33,7 +33,7 @@ module ActiveModel # attribute_method_affix prefix: 'reset_', suffix: '_to_default!' # attribute_method_suffix '_contrived?' # attribute_method_prefix 'clear_' - # define_attribute_methods [:name] + # define_attribute_methods :name # # attr_accessor :name # |