Rails javascript becomes one line -


this question has answer here:

javascript , coffeescript files in rails app rendered proper spacing , indentation on local server. however, once deployed remote server, render single line variable names changed single-characters, seemingly in attempt "scramble" javascript. causing this? how can turn behavior off?

for context, i'm trying debug javascript file in rails app ie9, use virtual box view staging version of app. while guess i'd prefer "scrambled" javascript on production, difficult debug.

that's done asset pipeline of can read more here.

if want turn off add config/application.rb

config.assets.enabled = false 

Comments