Closed mhuggins closed 3 years ago
Do any other assets appear in your Rails.application.assets
hash? As I understand it, this is rails issue and not specific to haml_coffee
I am taking a guess this is outdated. please re-open if this is still an issue
We're upgrading from Rails 4.1 to 4.2, and haml_coffee_assets breaks due to
config.assets.compile = false
being set in our application's environment. When that is false,Rails.application.assets
returnsnil
, which means thatfind_asset
doesn't work.The alternative appears to be to use
Rails.application.assets_manifest
, but it's not completely synonymous since you need to resolve assets, which was provided for free in thefind_assets
method.