Sync asset configuration with Rails 4.1.4 defaults

Ref #1705
This commit is contained in:
Dan Rice 2014-07-03 22:05:53 -04:00
parent 9a69b170fe
commit c6a8e0f498
4 changed files with 21 additions and 17 deletions

View file

@ -19,9 +19,16 @@ Rails.application.configure do
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
# Expands the lines which load the assets
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
# 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
# Unique cookies
# config.action_controller.session_store :cookie_store, :key => 'TracksCucumber'
# config.action_controller.session = { :key => 'TracksDev' }