1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/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
..
actionpack Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
activerecord Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
fixtures Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
lib/controller Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
template Extend image_tag to accept ActiveStorage Attachments and Variants (#30084) 2017-08-07 09:38:51 -05:00
tmp Add tmp dir in actionview/test/ 2013-08-05 01:24:14 +05:30
ujs Fix test directory to correct path 2017-07-30 16:28:10 +09:00
abstract_unit.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
active_record_unit.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00