From 30d6711c034bd5de6db831e57aeef28b304070c2 Mon Sep 17 00:00:00 2001 From: elijah Date: Sat, 16 Jan 2016 14:52:37 -0800 Subject: change the default of config.assets.debug for development env. --- config/environments/development.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/environments') diff --git a/config/environments/development.rb b/config/environments/development.rb index f088ef2..3c0ff0f 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -29,8 +29,9 @@ LeapWeb::Application.configure do # Do not compress assets config.assets.compress = false - # Expands the lines which load the assets - config.assets.debug = true + # If set to true, each asset file is loaded separately. If you are not + # debugging js or css, it is much faster to set this to false. + config.assets.debug = false # super hacky, but otherwise getting certificate error, and doesn't seem dangerous in development mode: OpenSSL::SSL.send(:remove_const, "VERIFY_PEER") -- cgit v1.2.3