2011-09-12 10:30:45 -04:00
|
|
|
Blog::Application.configure do
|
2012-01-21 18:48:47 -05:00
|
|
|
# Settings specified here will take precedence over those in config/application.rb.
|
2011-09-12 10:30:45 -04:00
|
|
|
|
|
|
|
# In the development environment your application's code is reloaded on
|
2013-01-22 00:12:29 -05:00
|
|
|
# every request. This slows down response time but is perfect for development
|
2011-09-12 10:30:45 -04:00
|
|
|
# since you don't have to restart the web server when you make code changes.
|
|
|
|
config.cache_classes = false
|
|
|
|
|
2013-01-22 00:12:29 -05:00
|
|
|
# Do not eager load code on boot.
|
|
|
|
config.eager_load = false
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Show full error reports and disable caching.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.consider_all_requests_local = true
|
|
|
|
config.action_controller.perform_caching = false
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Don't care if the mailer can't send.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.action_mailer.raise_delivery_errors = false
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Print deprecation notices to the Rails logger.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.active_support.deprecation = :log
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Only use best-standards-support built into browsers.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.action_dispatch.best_standards_support = :builtin
|
|
|
|
|
2013-01-22 00:12:29 -05:00
|
|
|
# Raise an error on page load if there are pending migrations
|
|
|
|
config.active_record.migration_error = :page_load
|
2011-09-12 10:30:45 -04:00
|
|
|
|
2013-01-22 00:12:29 -05:00
|
|
|
# Debug mode disables concatenation and preprocessing of assets.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.assets.debug = true
|
|
|
|
end
|