lib/combustion/application.rb in combustion-1.3.7 vs lib/combustion/application.rb in combustion-1.4.0

- old
+ new

@@ -11,20 +11,23 @@ Combustion::Configurations::ActionController, Combustion::Configurations::ActionMailer, Combustion::Configurations::ActiveStorage ].freeze - rails_gate = VersionGate.new("rails") + rails_gate = VersionGate.new("railties") # Core Settings config.cache_classes = true config.consider_all_requests_local = true config.eager_load = Rails.env.production? config.secret_key_base = SecureRandom.hex if rails_gate.call(">= 4.0") config.whiny_nils = true if rails_gate.call("< 4") if rails_gate.call("< 5.2") config.secret_token = Digest::SHA1.hexdigest Time.now.to_s + end + if rails_gate.call("~> 7.1.0.alpha") + config.active_support.cache_format_version = 7.1 end # ActiveSupport Settings config.active_support.deprecation = :stderr