1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/test/models
Andrew White 9436c22e2a
Use a current model to provide the host for service urls
Trying to pass the current request down to the service so that it can
create full urls instead of paths makes the API messy so use a model
based on ActiveSupport::CurrentAttributes to provide the current host
to services that need it (primarily the disk service).
2018-04-06 20:07:52 +01:00
..
filename Encode Content-Disposition filenames according to RFC 2231 2017-08-21 18:23:15 -04:00
attachments_test.rb Flip the order of the after_create callbacks 2018-03-27 12:58:19 +11:00
blob_test.rb Use a current model to provide the host for service urls 2018-04-06 20:07:52 +01:00
filename_test.rb Rename ActiveStorage::Filename#extname to extension_with_delimiter 2017-08-20 16:30:15 -04:00
preview_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
representation_test.rb Extract Analyzable and Representable concerns 2018-01-10 12:12:04 -05:00
variant_test.rb Support varying ICO files 2018-02-24 15:27:57 -05:00