diff options
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/attribute_assignment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_assignment.rb b/activerecord/lib/active_record/attribute_assignment.rb index 9e45a83fcf..c30443f7a8 100644 --- a/activerecord/lib/active_record/attribute_assignment.rb +++ b/activerecord/lib/active_record/attribute_assignment.rb @@ -7,7 +7,7 @@ module ActiveRecord # matching the attribute names (which again matches the column names). # # If the passed hash responds to permitted? method and the return value - # of this method is false an ActiveModel::ForbiddenAttributes exception + # of this method is false an ActiveModel::ForbiddenAttributesError exception # is raised. def attributes=(new_attributes) return unless new_attributes.is_a?(Hash) |