I have rails application, with sass less and many gems.
I try to find where image_tag is overwrited to debug why it do not add fingerprint hash to url.
I have done rails assets:precompile
and files with hash fingerprint are existing in public dir.
The problem is on production and in development which I configured (as in production) like this:
config.assets.compile = true
config.assets.digest = true
I tried to search in ~/.gem/gems
and ~/.gem/bundler/gems/
and in project folder for def image_tag
and :image_tag
- no results except place where it is actually defined (actionview-5.0.7.2/lib/action_view/helpers/asset_tag_helper.rb
).
I tried to print some from image_tag
at asset_tag_helper.rb
- no any output, however at asset_path
in asset_url_helper.rb
output is present but no any image files processed.
Same time image_tag
works correct and generate correct tag with options like :size
and so on. But do not contain a hash fingerprint