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
Daniel Colson 66b861f24c
Restore ActiveStorage::Blob#find_signed
Rails 6.0 had a [public `find_signed` method][docs], but we changed it
to `find_signed!` in 31148cd6be.

This commit adds back `find_signed` alongside `find_signed!` to match
the corresponding [Active Record methods][].

[docs]: https://api.rubyonrails.org/v6.0.0/classes/ActiveStorage/Blob.html#method-c-find_signed
[Active Record methods]: https://github.com/rails/rails/blob/main/activerecord/lib/active_record/signed_id.rb#L42-L66
2021-01-23 23:14:48 -05:00
..
assets/javascripts Add gitattributes for vendored and generated files [ci-skip] 2020-10-04 16:44:37 -05:00
controllers Permit hash on direct upload in active storage (#40662) 2020-11-28 10:33:44 +01: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 Restore ActiveStorage::Blob#find_signed 2021-01-23 23:14:48 -05:00