Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes rails 7.1 deprecation for ActiveRecord.default_timezone #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ch000
Copy link

@ch000 ch000 commented Jan 28, 2022

With Rails 7 we get deprecation warnings for creating new plutus entries:

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

got this fix from activerecord-import
https://github.com/zdennis/activerecord-import/pull/752/files

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

@mbulat Any chance of getting this merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants