Skip to content

Commit

Permalink
Use Rails 8.0 defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Yannis JAQUET <[email protected]>
  • Loading branch information
yannis committed Dec 24, 2024
1 parent 01f243c commit 5c69771
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 36 deletions.
1 change: 1 addition & 0 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
//= link_tree ../pdfs
//= link_directory ../stylesheets .css
//= link_tree ../builds
//= link application.css
1 change: 0 additions & 1 deletion app/models/concerns/acts_as_category.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "translate"
require "smart_pooler"

module ActsAsCategory
extend ActiveSupport::Concern
Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 0 additions & 32 deletions config/initializers/new_framework_defaults_8_0.rb

This file was deleted.

0 comments on commit 5c69771

Please sign in to comment.