spec/dummy/config/application.rb in fx-0.8.0 vs spec/dummy/config/application.rb in fx-0.9.0
- old
+ new
@@ -10,8 +10,12 @@
class Application < Rails::Application
config.cache_classes = true
config.eager_load = false
config.active_support.deprecation = :stderr
- config.active_record.legacy_connection_handling = false
+ config.load_defaults 7.0
+
+ if Rails.version >= "8.0"
+ config.active_support.to_time_preserves_timezone = :zone
+ end
end
end