chore: update to rails 8

This commit is contained in:
Nelson Jovel 2024-11-20 15:16:22 -08:00
parent 1fffb79e7f
commit d0721709f5
7 changed files with 83 additions and 96 deletions

View file

@ -9,10 +9,14 @@ Bundler.require(*Rails.groups)
module Edcontext
class Application < Rails::Application
config.load_defaults 7.1
config.load_defaults 8.0
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
config.active_support.cache_format_version 6.1
#
# 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.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w[assets tasks])
end
end

View file

@ -1,13 +1,13 @@
Rails.application.configure do
config.after_initialize do
Bullet.enable = true
Bullet.alert = false
Bullet.bullet_logger = true
Bullet.console = true
# Bullet.growl = true
Bullet.rails_logger = true
Bullet.add_footer = true
end
# config.after_initialize do
# Bullet.enable = true
# Bullet.alert = false
# Bullet.bullet_logger = true
# Bullet.console = true
# # Bullet.growl = true
# Bullet.rails_logger = true
# Bullet.add_footer = true
# end
# Settings specified here will take precedence over those in config/application.rb.