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
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
..
assets/javascripts Defaults content_type to application/octet-stream 2020-01-07 10:30:56 -08:00
controllers Proxying: sanitize Content-Type and Content-Disposition 2020-08-31 11:24:13 -04:00
javascript/activestorage Defaults content_type to application/octet-stream 2020-01-07 10:30:56 -08:00
jobs/active_storage Discard ActiveStorage::AnalyzeJobs on ActiveRecord::RecordNotFound 2019-09-28 10:28:21 -04:00
models/active_storage Override ActiveStorage.signed_id_verifier instead of assigning 2020-09-02 08:41:15 -04:00