diff options
author | Mark Longair <mhl@pobox.com> | 2013-11-26 15:23:05 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-29 08:59:35 +0000 |
commit | c64692cd3d10f7432c9d5350610a6799b1e1419b (patch) | |
tree | 6c88ec5067d3fbbf16b3050184e4db8e931445da /config/environments/development.rb | |
parent | f91d66d42f517f778cac130466b7cffc7fd8b085 (diff) | |
parent | 70ae965de187244d5fde7dfff9c1c274fbba581f (diff) |
Merge branch 'feature/rails-3-2-upgrade-spike' into feature/switch-to-asset-pipeline
Conflicts:
Gemfile.lock
app/assets/images/admin-theme/ui-bg_flat_0_aaaaaa_40x100.png
app/assets/images/admin-theme/ui-bg_flat_55_fbf9ee_40x100.png
app/assets/images/admin-theme/ui-bg_flat_65_ffffff_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_cccccc_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_dadada_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_e6e6e6_40x100.png
app/assets/images/admin-theme/ui-bg_flat_75_ffffff_40x100.png
app/assets/images/admin-theme/ui-bg_inset-soft_95_fef1ec_1x100.png
app/assets/images/admin-theme/ui-icons_222222_256x240.png
app/assets/images/admin-theme/ui-icons_2e83ff_256x240.png
app/assets/images/admin-theme/ui-icons_454545_256x240.png
app/assets/images/admin-theme/ui-icons_888888_256x240.png
app/assets/images/admin-theme/ui-icons_cd0a0a_256x240.png
app/assets/javascripts/admin.js
app/assets/javascripts/admin/jquery-ui.min.js
app/assets/javascripts/application.js
app/assets/javascripts/jquery-ui.min.js
app/assets/javascripts/jquery.flot.errorbars.min.js
app/assets/javascripts/jquery.flot.min.js
app/assets/javascripts/stats.js
app/assets/stylesheets/application.css
app/assets/stylesheets/fonts.scss
app/views/general/_stylesheet_includes.html.erb
app/views/layouts/admin.html.erb
app/views/layouts/default.html.erb
app/views/public_body/statistics.html.erb
config/application.rb
config/environments/development.rb
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index ecfad3af7..dbf8d7b2a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -39,4 +39,11 @@ Alaveteli::Application.configure do # 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 |