changeset 198:f513b1ca455a

Add the new eager_load config parameter.
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:08:33 +0900
parents af80541dc915
children ea90c0a58b40
files config/environments/development.rb config/environments/production.rb config/environments/test.rb
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config/environments/development.rb	Wed May 08 00:03:01 2013 +0900
+++ b/config/environments/development.rb	Wed May 08 00:08:33 2013 +0900
@@ -27,4 +27,6 @@
 
   # Expands the lines which load the assets
   config.assets.debug = true
+
+  config.eager_load = false
 end
--- a/config/environments/production.rb	Wed May 08 00:03:01 2013 +0900
+++ b/config/environments/production.rb	Wed May 08 00:08:33 2013 +0900
@@ -60,4 +60,6 @@
 
   # Send deprecation notices to registered listeners
   config.active_support.deprecation = :notify
+
+  config.eager_load = true
 end
--- a/config/environments/test.rb	Wed May 08 00:03:01 2013 +0900
+++ b/config/environments/test.rb	Wed May 08 00:08:33 2013 +0900
@@ -31,4 +31,6 @@
 
   # Print deprecation notices to the stderr
   config.active_support.deprecation = :stderr
+
+  config.eager_load = false
 end