rails v7.1.2 and ruby to v3.3.0

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2023-12-29 20:50:36 +02:00
1 parent b94dbc75b7
commit fe845bfa36
22 files changed
+226 -194

No files matched your search

+6 -3
View File
@@ -15,10 +15,9 @@ Bundler.require(*Rails.groups)
module DocuSeal
class Application < Rails::Application
config.load_defaults 7.0
config.load_defaults 7.1
config.autoload_paths << Rails.root.join('lib')
config.eager_load_paths << Rails.root.join('lib')
config.autoload_lib(ignore: %w[assets tasks])
config.active_storage.routes_prefix = ''
@@ -32,6 +31,10 @@ module DocuSeal
config.middleware.insert_before ActionDispatch::Static, Rack::Deflater
config.middleware.insert_before ActionDispatch::Static, ApiPathConsiderJsonMiddleware
config.generators.system_tests = nil
autoloaders.once.do_not_eager_load("#{Turbo::Engine.root}/app/channels") # https://github.com/hotwired/turbo-rails/issues/512
ActiveSupport.run_load_hooks(:application_config, self)
end
end