diff options
-rw-r--r-- | activerecord/lib/active_record/associations/association_collection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association_collection.rb b/activerecord/lib/active_record/associations/association_collection.rb index 9bd59132f5..acb9fe7ff8 100644 --- a/activerecord/lib/active_record/associations/association_collection.rb +++ b/activerecord/lib/active_record/associations/association_collection.rb @@ -290,7 +290,7 @@ module ActiveRecord unless concat(other_array - @target) @target = original_target - raise RecordNotSaved, "Failed to replace #{@reflection.name} because one or more of the " + raise RecordNotSaved, "Failed to replace #{@reflection.name} because one or more of the " \ "new records could not be saved." end end |