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

Use #to_formatted_s instead #to_s #162

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

Conversation

gabriel-curtino
Copy link

Support Rails 7 #to_s Date Time DateTime deprecation.

https://guides.rubyonrails.org/7_0_release_notes.html#active-support-deprecations

@maddieholtzer
Copy link

I'm trying to set up this gem right now and I believe the issue this fixes is preventing it from working.

Getting this error running rake db:seed:dump:

ActiveSupport::DeprecationException: DEPRECATION WARNING: TimeWithZone#to_s(:db) is deprecated. Please use TimeWithZone#to_fs(:db) instead.

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