mirror of https://github.com/rails/rails
Fix Example in active model attribute methods
This commit is contained in:
parent
a7244caf0e
commit
1c02b98864
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue