validates_timeliness icon indicating copy to clipboard operation
validates_timeliness copied to clipboard

Rails 7 Deprecation Warnings

Open marclennox opened this issue 3 years ago • 3 comments

Rails 7 has deprecated ActiveRecord::Base.default_timezone in favor of ActiveRecord.default_timezone. The railtie for this gem is referencing the deprecated method and generates a warning. Happy to push a merge request if that will help.

DEPRECATION WARNING: ActiveRecord::Base.default_timezone is deprecated and will be removed in Rails 7.1.
Use `ActiveRecord.default_timezone` instead.

marclennox avatar Jan 21 '22 17:01 marclennox

Fixed in #213 .. for now I'm using

 gem 'validates_timeliness', '~> 6.0.0.beta2', github: "mitsuru/validates_timeliness", branch: "rails7"

foucist avatar Apr 01 '22 17:04 foucist

@foucist You know your build will break if mitsuru chooses to delete that branch, right?

@adzap Ping?

leoarnold avatar Apr 12 '22 07:04 leoarnold

@adzap we'd love to silence those pesky warning. Thanks!

pcothenet avatar Jun 01 '22 20:06 pcothenet

When will the new version be released? Still the beta out there

h0jeZvgoxFepBQ2C avatar Oct 23 '23 09:10 h0jeZvgoxFepBQ2C

+1

braintrustalex avatar Jan 04 '24 15:01 braintrustalex

thanks for costing me tons of time for nothing... #*#$!&#

zeptoon avatar Feb 01 '24 18:02 zeptoon