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
controllers Proxying: sanitize Content-Type and Content-Disposition 2020-08-31 11:24:13 -04:00
javascript/activestorage
jobs/active_storage
models/active_storage Override ActiveStorage.signed_id_verifier instead of assigning 2020-09-02 08:41:15 -04:00