2011-09-15 21:41:26 +00:00
|
|
|
AdoptAThing::Application.configure do
|
2013-12-02 21:47:02 +00:00
|
|
|
# Settings specified here will take precedence over those in config/application.rb.
|
2011-02-14 18:28:51 +00:00
|
|
|
|
|
|
|
# In the development environment your application's code is reloaded on
|
2012-01-10 22:35:38 +00:00
|
|
|
# every request. This slows down response time but is perfect for development
|
2011-05-06 02:38:25 +00:00
|
|
|
# since you don't have to restart the web server when you make code changes.
|
2011-02-14 18:28:51 +00:00
|
|
|
config.cache_classes = false
|
|
|
|
|
2013-12-02 21:47:02 +00:00
|
|
|
# Do not eager load code on boot.
|
|
|
|
config.eager_load = false
|
2011-02-14 18:28:51 +00:00
|
|
|
|
2013-12-02 21:47:02 +00:00
|
|
|
# Show full error reports and disable caching.
|
2011-02-14 18:28:51 +00:00
|
|
|
config.consider_all_requests_local = true
|
|
|
|
config.action_controller.perform_caching = false
|
|
|
|
|
2013-12-02 21:47:02 +00:00
|
|
|
# Don't care if the mailer can't send.
|
2011-02-14 18:28:51 +00:00
|
|
|
config.action_mailer.raise_delivery_errors = false
|
2014-03-25 09:47:44 +00:00
|
|
|
config.action_mailer.default_url_options = {host: 'localhost:3000'}
|
2011-02-14 18:28:51 +00:00
|
|
|
|
2013-12-02 21:47:02 +00:00
|
|
|
# Print deprecation notices to the Rails logger.
|
2011-02-14 18:28:51 +00:00
|
|
|
config.active_support.deprecation = :log
|
|
|
|
|
2013-12-02 21:47:02 +00:00
|
|
|
# Raise an error on page load if there are pending migrations
|
|
|
|
config.active_record.migration_error = :page_load
|
2011-07-30 15:52:38 +00:00
|
|
|
|
2013-12-02 21:47:02 +00:00
|
|
|
# Debug mode disables concatenation and preprocessing of assets.
|
|
|
|
# This option may cause significant delays in view rendering with a large
|
|
|
|
# number of complex assets.
|
2011-09-03 20:09:54 +00:00
|
|
|
config.assets.debug = true
|
2011-02-14 18:28:51 +00:00
|
|
|
end
|