view config/default_config.rb @ 201:681bfba39449

Hopefully the last bit of mass assignment update.
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:18:36 +0900
parents 5466704c87ee
children 8dfbf854fad3
line wrap: on
line source

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']