lib/combustion/application.rb in combustion-1.4.0 vs lib/combustion/application.rb in combustion-1.5.0
- old
+ new
@@ -13,9 +13,13 @@
Combustion::Configurations::ActiveStorage
].freeze
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
config.eager_load = Rails.env.production?