diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2015-09-26 13:34:31 +0100 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2015-09-26 13:34:31 +0100 |
commit | c2d5e99508dd91351370b130de505c3485a3b3ab (patch) | |
tree | aa00e3a941a7e620ed04504c71d7582c4a7b4b34 /activerecord | |
parent | e12944fb275eb5e4266c30f20d55e4ef714eae2b (diff) | |
parent | 80db7d9c9ddb3a97387aac681d4da78cf0b63932 (diff) | |
download | rails-c2d5e99508dd91351370b130de505c3485a3b3ab.tar.gz rails-c2d5e99508dd91351370b130de505c3485a3b3ab.tar.bz2 rails-c2d5e99508dd91351370b130de505c3485a3b3ab.zip |
Merge pull request #21778 from amitsuroliya/correct_argument_error
Correcting `ActiveRecord::DangerousAttributeError` error message [ci …
Diffstat (limited to 'activerecord')
-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 |