changeset 165:5466704c87ee

I mean this.
author Edho Arief <edho@myconan.net>
date Thu, 13 Dec 2012 18:11:27 +0700
parents faded97bb095
children 4b0894e3eb1c
files config/default_config.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/config/default_config.rb	Thu Dec 13 18:09:24 2012 +0700
+++ b/config/default_config.rb	Thu Dec 13 18:11:27 2012 +0700
@@ -1,5 +1,5 @@
-CONFIG['standalone'] = true unless CONFIG['standalone']
-CONFIG['newrelic'] = false unless CONFIG['newrelic']
+CONFIG['standalone'] = true if CONFIG['standalone'].nil?
+CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
 CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test))
 CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
 CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']