Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Example in active model attribute methods

  • Loading branch information...
commit 1c02b988641c201308e6b3de6457128878e47bd5 1 parent a7244ca
@nixterrimus nixterrimus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/attribute_methods.rb
View
2  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.
Something went wrong with that request. Please try again.