annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
165
5466704c87ee I mean this.
Edho Arief <edho@myconan.net>
parents: 164
diff changeset
1 CONFIG['standalone'] = true if CONFIG['standalone'].nil?
5466704c87ee I mean this.
Edho Arief <edho@myconan.net>
parents: 164
diff changeset
2 CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
147
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test))
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
156
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
5 CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']