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
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
..
blob Add requires for mimemagic 2020-09-25 15:00:04 -04:00
attachment.rb Extract ActiveStorage::Record 2020-09-29 11:59:14 -04:00
blob.rb Restore ActiveStorage::Blob#find_signed 2021-01-23 23:14:48 -05:00
current.rb Use a current model to provide the host for service urls 2018-04-06 20:07:52 +01:00
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
record.rb Extract ActiveStorage::Record 2020-09-29 11:59:14 -04:00
variant.rb Remove unused require 2020-09-23 14:39:52 -04:00
variant_record.rb Extract ActiveStorage::Record 2020-09-29 11:59:14 -04:00
variant_with_record.rb Set default variant format from blob content type 2020-09-22 13:03:53 -04:00
variation.rb Remove deprecated ActiveStorage::Transformers::MiniMagickTransformer 2020-10-30 00:25:47 +00:00