1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/test
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
..
analyzer Add metadata value for presence of audio channel in video blobs 2021-06-09 08:32:18 -03:00
controllers Active Storage representations: respond with 404 given invalid variation key 2021-03-27 08:03:27 -04:00
database touch parent model when an attachment is purged 2020-07-26 12:22:37 -05:00
dummy 'lookup' -> 'look up' in dummy webpacker.ymls 2021-03-21 12:36:56 +00:00
fixtures Add metadata value for presence of audio channel in video blobs 2021-06-09 08:32:18 -03:00
jobs
models Fix ActiveStorage has_many_attached when record is not persisted 2021-06-12 19:49:21 +02:00
previewer Active Storage: raise PreviewError when a preview cannot be generated 2021-02-26 14:06:52 -05:00
service Raise a meaningful error if ActiveStorage::Current.host is blank 2021-05-10 17:27:17 +02:00
template
urls Respect default serving strategy in rails_{blob,representation}_{url,path} 2021-01-28 18:52:00 -05:00
fixture_set_test.rb Fix Flaky ActiveStorage test (#41225) 2021-01-24 18:29:11 +01:00
javascript_package_test.rb
test_helper.rb Add with_all_variant_records method to eager load all variant records on an attachment at once 2021-06-03 09:50:43 -05:00