diff --git a/lib/combustion/application.rb b/lib/combustion/application.rb index bee0748..8ac08b6 100644 --- a/lib/combustion/application.rb +++ b/lib/combustion/application.rb @@ -15,6 +15,10 @@ class Application < Rails::Application rails_gate = VersionGate.new("railties") + if rails_gate.call(">= 7.2.0.alpha") + config.load_defaults Rails::VERSION::STRING.to_f + end + # Core Settings config.cache_classes = true config.consider_all_requests_local = true