diff options
author | Nick Rowe <nixterrimus@dcxn.com> | 2012-10-02 15:18:08 -0700 |
---|---|---|
committer | Nick Rowe <nixterrimus@dcxn.com> | 2012-10-02 15:18:08 -0700 |
commit | 1c02b988641c201308e6b3de6457128878e47bd5 (patch) | |
tree | 88aa2efb7bc289b85ffec362db08a3ed10777c60 /activemodel | |
parent | a7244caf0eb4db1e5798f9ab7a84b9e60cff65a5 (diff) | |
download | rails-1c02b988641c201308e6b3de6457128878e47bd5.tar.gz rails-1c02b988641c201308e6b3de6457128878e47bd5.tar.bz2 rails-1c02b988641c201308e6b3de6457128878e47bd5.zip |
Fix Example in active model attribute methods
Diffstat (limited to 'activemodel')
-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 ef04f1fa49..975b4a69bb 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 # |