OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rails upgrade to 4
[pettanr/pettanr.git]
/
config
/
environments
/
production.rb
diff --git
a/config/environments/production.rb
b/config/environments/production.rb
index
12104b0
..
3e74fdd
100644
(file)
--- a/
config/environments/production.rb
+++ b/
config/environments/production.rb
@@
-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'