diff options
author | amitkumarsuroliya <amitkumarsuroliya@gmail.com> | 2015-09-26 17:36:09 +0530 |
---|---|---|
committer | amitkumarsuroliya <amitkumarsuroliya@gmail.com> | 2015-09-26 17:36:09 +0530 |
commit | 80db7d9c9ddb3a97387aac681d4da78cf0b63932 (patch) | |
tree | aa00e3a941a7e620ed04504c71d7582c4a7b4b34 /activerecord/lib | |
parent | e12944fb275eb5e4266c30f20d55e4ef714eae2b (diff) | |
download | rails-80db7d9c9ddb3a97387aac681d4da78cf0b63932.tar.gz rails-80db7d9c9ddb3a97387aac681d4da78cf0b63932.tar.bz2 rails-80db7d9c9ddb3a97387aac681d4da78cf0b63932.zip |
Correcting `ActiveRecord::DangerousAttributeError` error message [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 99b500526d..ca6ba18fe0 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -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 |