rails--rails/activestorage/lib
Jacopo a8a60652a3 Fix ActiveStorage has_many_attached when record is not persisted
This is a follow up of #42256.

Purging a not persisted record no longer raise an error for
`has_many_attached`.

Moves the `purge` and `purge_later` logic of `ActiveStorage::Attached`
to `Attached::Changes` API.
2021-06-12 19:49:21 +02:00
..
active_storage Fix ActiveStorage has_many_attached when record is not persisted 2021-06-12 19:49:21 +02:00
tasks
active_storage.rb