mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
Merge pull request #2143 from TracksApp/remove-rails51-deprecations
Remove Rails 5.1 deprecations
This commit is contained in:
commit
bc4333c32e
1 changed files with 0 additions and 5 deletions
|
|
@ -6,8 +6,6 @@
|
|||
#
|
||||
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
||||
|
||||
Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
|
||||
|
||||
# Enable per-form CSRF tokens. Previous versions had false.
|
||||
Rails.application.config.action_controller.per_form_csrf_tokens = false
|
||||
|
||||
|
|
@ -20,6 +18,3 @@ ActiveSupport.to_time_preserves_timezone = false
|
|||
|
||||
# Require `belongs_to` associations by default. Previous versions had false.
|
||||
Rails.application.config.active_record.belongs_to_required_by_default = false
|
||||
|
||||
# Do not halt callback chains when a callback returns false. Previous versions had true.
|
||||
ActiveSupport.halt_callback_chains_on_return_false = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue