Initial Rails 4.0.x upgrade
This commit is contained in:
@@ -22,9 +22,6 @@ Railsgoat::Application.configure do
|
||||
# Only use best-standards-support built into browsers
|
||||
config.action_dispatch.best_standards_support = :builtin
|
||||
|
||||
# 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
|
||||
@@ -50,4 +47,7 @@ Railsgoat::Application.configure do
|
||||
:host => 'railsgoat.dev',
|
||||
:ignore => [ %r{dont/modify\.html$} ]
|
||||
)
|
||||
|
||||
# For Rails 4.0+
|
||||
config.eager_load = false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user