1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/app/models/active_storage
George Claghorn 9055156668 Override ActiveStorage.signed_id_verifier instead of assigning
Guard against the case where ActiveStorage.verifier isn't yet initialized at load time.

Yes, you're not supposed to load AR models in initializers, but it's easy to do accidentally as long as we don't prevent it. We should be resilient against it wherever practical.
2020-09-02 08:41:15 -04:00
..
blob Identify directly-uploaded blobs before saving the associated record 2020-08-11 18:08:09 -04:00
attachment.rb Identify directly-uploaded blobs before saving the associated record 2020-08-11 18:08:09 -04:00
blob.rb Override ActiveStorage.signed_id_verifier instead of assigning 2020-09-02 08:41:15 -04:00
current.rb
filename.rb Encode Content-Disposition filenames on send_data and send_file 2018-09-13 21:38:46 +09:00
preview.rb Active Storage: allow serving files by proxying 2020-05-11 16:21:58 -04:00
variant.rb Proxying: sanitize Content-Type and Content-Disposition 2020-08-31 11:24:13 -04:00
variant_record.rb Track Active Storage variants in the database 2019-12-06 13:26:51 -05:00
variant_with_record.rb Active Storage: allow serving files by proxying 2020-05-11 16:21:58 -04:00
variation.rb Track Active Storage variants in the database 2019-12-06 13:26:51 -05:00