# HG changeset patch # User Edho Arief # Date 1355396964 -25200 # Node ID faded97bb0954db99a8915fc8b4361e84c51baa6 # Parent d832e1f1328b04ae2debac6514dd0abe6bac94dd Correct way to set default of boolean. diff -r d832e1f1328b -r faded97bb095 config/default_config.rb --- a/config/default_config.rb Tue Dec 11 21:57:51 2012 +0300 +++ b/config/default_config.rb Thu Dec 13 18:09:24 2012 +0700 @@ -1,5 +1,5 @@ -CONFIG['standalone'] ||= true -CONFIG['newrelic'] ||= false +CONFIG['standalone'] = true unless CONFIG['standalone'] +CONFIG['newrelic'] = false unless CONFIG['newrelic'] CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test)) CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone'] CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']