Upgrade to Rails 6.1 and apply new framework defaults

This commit is contained in:
Sebastian Serth
2021-05-12 16:45:43 +02:00
parent 504bb07ae1
commit 11962a1d65
20 changed files with 226 additions and 152 deletions

View File

@ -1,9 +1,5 @@
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
load File.expand_path("spring", __dir__)
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'
require_relative "../config/boot"
require "rails/commands"