adzap / validates_timeliness

Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
MIT License
1.59k stars 227 forks source link

ActiveRecord::Base.default_timezone is deprecated, move to ActiveRecord.default_timezone #200

Closed timburgan closed 1 year ago

timburgan commented 3 years ago

Using validates_timeliness in Rails 7.0alpha returns:

ActiveRecord::Base.default_timezone is deprecated, move to ActiveRecord.default_timezone

so, doing that.

pedrofurtado commented 3 years ago

Thanks for your contribution, @timburgan ! 🎉

Happy to see Rails 7 released officially soon!

Pinging @adzap for notification

EQuincerot commented 2 years ago

As rails 7 has been released, what is missing now, to merge this PR? :) Could I help anyhow?

EQuincerot commented 2 years ago

I'm sorry to insist @adzap but would it be possible to merge and realease this pull request? that would be so nice

adzap commented 1 year ago

Thanks. It's been implemented in other commits.