aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb21
1 files changed, 12 insertions, 9 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 0d33ac03c..3000da9f2 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -23,22 +23,25 @@ ChouetteIhm::Application.configure do
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
- # Only use best-standards-support built into browsers
- config.action_dispatch.best_standards_support = :builtin
+ # Raise an error on page load if there are pending migrations.
+ config.active_record.migration_error = :page_load
- # Do not compress assets
- config.assets.compress = false
+ # 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 = false
- # Expands the lines which load the 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
- config.active_record.mass_assignment_sanitizer = :strict
+ # Raises error for missing translations
+ # config.action_view.raise_on_missing_translations = true
# uncomment to show chouette error view in development
#config.consider_all_requests_local = false
- config.active_record.auto_explain_threshold_in_seconds = (RUBY_PLATFORM == "java" ? nil : 0.5)
-
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
# replace this with your production tracker code