Permalink
Browse files

Revert "Fix Example in active model attribute methods"

This reverts commit 1c02b98.
  • Loading branch information...
1 parent d5802ad commit 43f32f2f5db343e6345f63222976f73d1bd82e7f @vijaydev vijaydev committed Oct 10, 2012
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 43f32f2

Please sign in to comment.