Upgrade from Rails 5.0 to 5.2
This commit is contained in:
parent
820ff2a30b
commit
d130f68172
29 changed files with 504 additions and 301 deletions
|
|
@ -6,6 +6,8 @@
|
|||
#
|
||||
# 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,4 +22,4 @@ ActiveSupport.to_time_preserves_timezone = 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
|
||||
#ActiveSupport.halt_callback_chains_on_return_false = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue