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
Post a Comment