config.serve_static_assets = true
config.static_cache_control = "public, max-age=3600"
- # Log error messages when you accidentally call methods on nil
- config.whiny_nils = true
-
# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
+config.eager_load = false
+config.active_record.migration_error = :page_load
+end
+
+module Pettanr
+ if File.exist? Rails.root + 'config/test_layout'
+ test_layout = 'test'
+ else
+ test_layout = false
+ end
end