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