mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Correcting ActiveRecord::DangerousAttributeError
error message [ci skip]
This commit is contained in:
parent
e12944fb27
commit
80db7d9c9d
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ module ActiveRecord
|
|||
# end
|
||||
#
|
||||
# Person.instance_method_already_implemented?(:save)
|
||||
# # => ActiveRecord::DangerousAttributeError: save is defined by ActiveRecord
|
||||
# # => ActiveRecord::DangerousAttributeError: save is defined by Active Record. Check to make sure that you don't have an attribute or method with the same name.
|
||||
#
|
||||
# Person.instance_method_already_implemented?(:name)
|
||||
# # => false
|
||||
|
|
Loading…
Reference in a new issue