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
|
|
|
|
# every request. This slows down response time but is perfect for development
|
|
|
|
# since you don't have to restart the web server when you make code changes.
|
|
|
|
config.cache_classes = 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
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Raise exception on mass assignment protection for ActiveRecord models.
|
2011-12-02 07:32:18 -05:00
|
|
|
config.active_record.mass_assignment_sanitizer = :strict
|
|
|
|
|
|
|
|
# Log the query plan for queries taking more than this (works
|
2012-01-21 18:48:47 -05:00
|
|
|
# with SQLite, MySQL, and PostgreSQL).
|
2011-12-02 07:32:18 -05:00
|
|
|
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Do not compress assets.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.assets.compress = false
|
|
|
|
|
2012-01-21 18:48:47 -05:00
|
|
|
# Expands the lines which load the assets.
|
2011-09-12 10:30:45 -04:00
|
|
|
config.assets.debug = true
|
|
|
|
end
|