Permalink
Browse files

Fix Example in active model attribute methods

  • Loading branch information...
nixterrimus committed Oct 2, 2012
1 parent a7244ca commit 1c02b988641c201308e6b3de6457128878e47bd5
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/attribute_methods.rb
@@ -33,7 +33,7 @@ class MissingAttributeError < NoMethodError
# 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
#

0 comments on commit 1c02b98

Please sign in to comment.