Merge branch '15964-fix-docs' refs #15964
[arvados.git] / services / api / config / environments / development.rb.example
index b6c4c92871b8c3616993dfa553831b568b7ae577..f5ab77a4df285283dab8e2c3ef1f0fe35b7da2d4 100644 (file)
@@ -1,4 +1,8 @@
-Server::Application.configure do
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb
 
   # In the development environment your application's code is reloaded on
@@ -23,9 +27,6 @@ Server::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