2014-04-09 07:02:20 +00:00
|
|
|
Rails.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
|
|
|
|
|
2014-04-09 07:02:20 +00:00
|
|
|
# Raise an error on page load if there are pending migrations.
|
2013-12-02 21:47:02 +00:00
|
|
|
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
|
2014-04-09 07:02:20 +00:00
|
|
|
|
|
|
|
# Adds additional error checking when serving assets at runtime.
|
|
|
|
# Checks for improperly declared sprockets dependencies.
|
|
|
|
# Raises helpful error messages.
|
|
|
|
config.assets.raise_runtime_errors = true
|
|
|
|
|
|
|
|
# Raises error for missing translations
|
|
|
|
# config.action_view.raise_on_missing_translations = true
|
2011-02-14 18:28:51 +00:00
|
|
|
end
|