config: flip config.active_storage.replace_on_assign_to_many

We don't have any `has_many_attached` relations in the code base, so
this is safe.
This commit is contained in:
Pierre de La Morinerie 2020-07-13 17:50:30 +02:00
parent 54a4db1c47
commit b556e2a99a

View file

@ -28,7 +28,7 @@ Rails.application.config.active_storage.queues.purge = :active_storage_purge
# When assigning to a collection of attachments declared via `has_many_attached`, replace existing
# attachments instead of appending. Use #attach to add new attachments without replacing existing ones.
# Rails.application.config.active_storage.replace_on_assign_to_many = true
Rails.application.config.active_storage.replace_on_assign_to_many = true
# Use ActionMailer::MailDeliveryJob for sending parameterized and normal mail.
#