diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js index 751a5115..3beacac7 100644 --- a/app/assets/config/manifest.js +++ b/app/assets/config/manifest.js @@ -2,3 +2,4 @@ //= link_tree ../pdfs //= link_directory ../stylesheets .css //= link_tree ../builds +//= link application.css diff --git a/app/models/concerns/acts_as_category.rb b/app/models/concerns/acts_as_category.rb index c163928c..d10af112 100644 --- a/app/models/concerns/acts_as_category.rb +++ b/app/models/concerns/acts_as_category.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require "translate" -require "smart_pooler" module ActsAsCategory extend ActiveSupport::Concern diff --git a/config/application.rb b/config/application.rb index 4b19fb8b..1dbb2eeb 100644 --- a/config/application.rb +++ b/config/application.rb @@ -23,7 +23,7 @@ module Kasaharacup class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 7.0 + config.load_defaults 8.0 # Please, add to the `ignore` list any other `lib` subdirectories that do # not contain `.rb` files, or that should not be reloaded or eager loaded. diff --git a/config/environments/test.rb b/config/environments/test.rb index 97b4446e..c8ce54a2 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -45,10 +45,10 @@ config.active_support.deprecation = :stderr # Raises error for missing translations. - # config.i18n.raise_on_missing_translations = true + config.i18n.raise_on_missing_translations = true # Annotate rendered view with file names. - # config.action_view.annotate_rendered_view_with_filenames = true + config.action_view.annotate_rendered_view_with_filenames = true # Raise error when a before_action's only/except options reference missing actions. config.action_controller.raise_on_missing_callback_actions = true diff --git a/config/initializers/new_framework_defaults_8_0.rb b/config/initializers/new_framework_defaults_8_0.rb deleted file mode 100644 index 2dccb0da..00000000 --- a/config/initializers/new_framework_defaults_8_0.rb +++ /dev/null @@ -1,32 +0,0 @@ -# frozen_string_literal: true - -# Be sure to restart your server when you modify this file. -# -# This file eases your Rails 8.0 framework defaults upgrade. -# -# Uncomment each configuration one by one to switch to the new default. -# Once your application is ready to run with all new defaults, you can remove -# this file and set the `config.load_defaults` to `8.0`. -# -# Read the Guide for Upgrading Ruby on Rails for more info on each option. -# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html - -### -# Specifies whether `to_time` methods preserve the UTC offset of their receivers or preserves the timezone. -# If set to `:zone`, `to_time` methods will use the timezone of their receivers. -# If set to `:offset`, `to_time` methods will use the UTC offset. -# If `false`, `to_time` methods will convert to the local system UTC offset instead. -#++ -# Rails.application.config.active_support.to_time_preserves_timezone = :zone - -### -# When both `If-Modified-Since` and `If-None-Match` are provided by the client -# only consider `If-None-Match` as specified by RFC 7232 Section 6. -# If set to `false` both conditions need to be satisfied. -#++ -# Rails.application.config.action_dispatch.strict_freshness = true - -### -# Set `Regexp.timeout` to `1`s by default to improve security over Regexp Denial-of-Service attacks. -#++ -# Regexp.timeout = 1