Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4065 from guilleiguaran/fix-railties-tests

Fix railties tests: I broke development.rb template during last merge
  • Loading branch information...
commit 5ca308b08f456c7ff1fa61d61e0dbff9671fc508 2 parents c4b13a7 + d545642
@josevalim josevalim authored
View
9 railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
@@ -22,15 +22,6 @@
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
- <%- unless options.skip_active_record? -%>
- # Raise exception on mass assignment protection for ActiveRecord 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 -%>
-
<%- unless options.skip_sprockets? -%>
# Do not compress assets
config.assets.compress = false
Please sign in to comment.
Something went wrong with that request. Please try again.