Disable AssetNotPrecompiledError in Rails, ignore missing assets -


There is no easy way to configure / patch rail to ignore missing assets? If a static asset is unavailable, I do not want to receive AssetNotPrecompiledError errors.

Here is my production configuration:

  config.assets.enabled = true config.assets.compile = false config.serve_static_assets = true   

The only civilized solution I have found is to make the assistant helper who wrap the call for the rail call, the property tags are created in helpers and catch the error: < p>

I got a question with a similar answer. He listed three possible solutions

Comments

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -