rails: update framework files and settings to 7.0.

* Update framework files with `bin/rails app:update`.
* Update to use new Rails 7.0 default settings, except for a couple
  things regarding new cookie and cache formats that would prevent us
  from rolling back to Rails 6.1 if necessary.
This commit is contained in:
evazion
2022-01-07 15:23:45 -06:00
parent 346aeca791
commit 87dfc66073
10 changed files with 171 additions and 83 deletions

View File

@@ -7,9 +7,9 @@
# Rails.application.config.middleware.insert_before 0, Rack::Cors do
# allow do
# origins 'example.com'
# origins "example.com"
#
# resource '*',
# resource "*",
# headers: :any,
# methods: [:get, :post, :put, :patch, :delete, :options, :head]
# end