Moving to rails 3.2

This commit is contained in:
Dmitriy Zaporozhets 2012-02-11 20:34:25 +02:00
parent cc043f32d8
commit bc3735004c
6 changed files with 122 additions and 117 deletions

View file

@ -30,4 +30,11 @@ Gitlab::Application.configure do
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
config.action_mailer.delivery_method = :letter_opener
# 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