Run rails upgrade task

next bundle exec rails app:update
This commit is contained in:
Henne Vogelsang 2021-08-17 14:58:06 +02:00
parent a017848ace
commit 7c1d3ce1c4
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
28 changed files with 395 additions and 284 deletions

View file

@ -1,5 +1,5 @@
# Be sure to restart your server when you modify this file.
#
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.
@ -8,7 +8,7 @@ ActiveSupport.on_load(:action_controller) do
wrap_parameters format: [:json]
end
# Disable root element in JSON by default.
ActiveSupport.on_load(:active_record) do
self.include_root_in_json = false
end
# To enable root element in JSON for ActiveRecord objects.
# ActiveSupport.on_load(:active_record) do
# self.include_root_in_json = true
# end