Remove `config.mass_assignment_sanitizer from development.rb sample
This configuration option has been removed in Rails 4; I've only found references to it from people running Rails 3.
This commit is contained in:
parent
5d82f16c70
commit
a45fd38e37
1 changed files with 0 additions and 3 deletions
|
@ -23,9 +23,6 @@ Foodsoft::Application.configure do
|
||||||
# Print deprecation notices to the Rails logger.
|
# Print deprecation notices to the Rails logger.
|
||||||
config.active_support.deprecation = :log
|
config.active_support.deprecation = :log
|
||||||
|
|
||||||
# Raise exception on mass assignment protection for Active Record models
|
|
||||||
config.active_record.mass_assignment_sanitizer = :strict
|
|
||||||
|
|
||||||
# Raise an error on page load if there are pending migrations
|
# Raise an error on page load if there are pending migrations
|
||||||
config.active_record.migration_error = :page_load
|
config.active_record.migration_error = :page_load
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue