diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-11-29 15:06:07 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-11-29 15:06:07 +0000 |
commit | eb1432f9992275df485f8502ad3ab6f7c8d494b7 (patch) | |
tree | ec20310d47c7f4e4cd136ac1671b32db4a379ea7 /config/environments/development.rb | |
parent | 5ddd0620f8023c4bbf7d82e61f841dadd73bb7ba (diff) | |
parent | 20089cf7b5045d504b7240bc92e2b6068fcc2246 (diff) |
Merge remote-tracking branch 'origin/merged-rails-3-2-assset-pipeline' into rails-3-develop
Conflicts:
Gemfile.lock
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index a912dd5de..dbf8d7b2a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -32,4 +32,18 @@ Alaveteli::Application.configure do # Print deprecation notices to the Rails logger config.active_support.deprecation = :log + + # Do not compress assets + config.assets.compress = false + + # Expands the lines which load the assets + config.assets.debug = true + + # Raise exception on mass assignment protection for Active Record models + config.active_record.mass_assignment_sanitizer = :strict + + # Log the query plan for queries taking more than this (works + # with SQLite, MySQL, and PostgreSQL) + config.active_record.auto_explain_threshold_in_seconds = 0.5 + end |