rails/activestorage/test
Anton Khamets 7c89948c41 Extend image_tag to accept ActiveStorage Attachments and Variants (#30084)
* Extend image_tag to accept ActiveStorage's Attachments and Variants

* Flip resolve_image_source around

* Add tests for the new use-cases of image_tag

* Remove the higher-level test

* Update image_tag documentation

* Add error states into the test suite

* Re-raise polymorhic_url's NoMethodError as ArgumentError

* delegate_missing_to will raise DelegationError instead of NoMethodError
2017-08-07 09:38:51 -05:00
..
controllers Fix ruby warnings 2017-08-05 12:22:39 +09:00
database Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' 2017-07-31 15:21:22 -04:00
dummy Fix Style/StringLiterals violations for Active Storage 2017-08-03 03:13:11 +09:00
fixtures/files Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' 2017-07-31 15:21:22 -04:00
models Fix ruby warnings 2017-08-05 12:22:39 +09:00
service Fix ruby warnings 2017-08-05 12:22:39 +09:00
template Extend image_tag to accept ActiveStorage Attachments and Variants (#30084) 2017-08-07 09:38:51 -05:00
filename_test.rb Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' 2017-07-31 15:21:22 -04:00
test_helper.rb Let ActiveStorage tests pass only for Disk 2017-08-01 09:06:39 -07:00