Hi, I’m trying to get the hashed version of an asset from a controller but I get the non hashed version.
The asset is generated fine when accesed from the
<script src="http://localhost:3000/assets/embed2.self-5196b72c08a71ab759f4282a95bd76431ccc336dedb42de662ad48b5a1a48fa1.js?body=1" data-turbo-track="reload" defer="defer"></script>
which is good .
But when I try to access the same asset from rails console with
I’ve checked the source of action_view for the
I’m using rails 6 with esbuild right now. on my previous implementation I had webpacked and I’ve used this:
asset_pack_path("embed.js"), so I need to migrate that to the asset_pipeline version.