Rails Asset Pipeline: Getting raw data in production -


this works in development:

raw rails.application.assets['path'].to_s 

but in production throws following error:

undefined method `[]' nil:nilclass

all assets have been precompiled.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

.net - Generate assembly with Roslyn -

batch file - filebot superstrict script: need tiny video sample or other solution -