1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Upgrade to rails 7.0

This commit is contained in:
2022-01-30 15:07:40 +01:00
parent eab04b9404
commit bfe8ce7b59
12 changed files with 196 additions and 191 deletions

View File

@@ -9,7 +9,7 @@ Bundler.require(*Rails.groups)
module Projekteuler
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.1
config.load_defaults 7.0
# Configuration for the application, engines, and railties goes here.
#
@@ -27,7 +27,8 @@ module Projekteuler
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
config.time_zone = 'Berlin'
config.time_zone = "Berlin"
# config.eager_load_paths << Rails.root.join("extras")
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]