Moving to rails 3.2
This commit is contained in:
parent
cc043f32d8
commit
bc3735004c
6 changed files with 122 additions and 117 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue