Closed cpgo closed 1 year ago
@cpgo Please rebase to allow tests to run (updated in the master)
@EugZol done
Not exactly sure how to handle this, would something like this work?
if Rails.gem_version < Gem::Version.new("7.1")
ActiveRecord.default_timezone = :utc
else
ActiveRecord::Base.default_timezone = :utc
end
@cpgo sure!
Changed the version check to look at activerecord
version instead of rails
.
Tests are passing locally, not sure why the CI is breaking, will take a better look later
Seems it should be the other way around :)
Yep :upside_down_face: But I see some weird UTF encoding errors on my CI run now
@cpgo Pushed the new gem version. Thank you!
Just bumped the
activerecord
version and fixed a minor change related to thedefault_timezone
setter.Taking a closer look at rails 7.1 release notes but as far as I could find there are no more changes needed.