OSDN Git Service

rails upgrade to 4
[pettanr/pettanr.git] / config / environments / production.rb
index 12104b0..3e74fdd 100644 (file)
@@ -61,6 +61,8 @@ config.assets.precompile += %w( *.css *.js )
 
   # Send deprecation notices to registered listeners
   config.active_support.deprecation = :notify
+config.eager_load = true
+config.active_record.migration_error = :page_load
 end
 require 'aws/s3'
 require 'yaml'