Skip to content

Commit

Permalink
Fix Example in active model attribute methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nixterrimus committed Oct 2, 2012
1 parent a7244ca commit 1c02b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/attribute_methods.rb
Expand Up @@ -33,7 +33,7 @@ class MissingAttributeError < NoMethodError
# attribute_method_affix prefix: 'reset_', suffix: '_to_default!' # attribute_method_affix prefix: 'reset_', suffix: '_to_default!'
# attribute_method_suffix '_contrived?' # attribute_method_suffix '_contrived?'
# attribute_method_prefix 'clear_' # attribute_method_prefix 'clear_'
# define_attribute_methods :name # define_attribute_methods [:name]
# #
# attr_accessor :name # attr_accessor :name
# #
Expand Down

0 comments on commit 1c02b98

Please sign in to comment.