aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authoramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-26 17:36:09 +0530
committeramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-26 17:36:09 +0530
commit80db7d9c9ddb3a97387aac681d4da78cf0b63932 (patch)
treeaa00e3a941a7e620ed04504c71d7582c4a7b4b34 /activerecord/lib/active_record/attribute_methods.rb
parente12944fb275eb5e4266c30f20d55e4ef714eae2b (diff)
downloadrails-80db7d9c9ddb3a97387aac681d4da78cf0b63932.tar.gz
rails-80db7d9c9ddb3a97387aac681d4da78cf0b63932.tar.bz2
rails-80db7d9c9ddb3a97387aac681d4da78cf0b63932.zip
Correcting `ActiveRecord::DangerousAttributeError` error message [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb2
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