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

Fix deprecation warning #358

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Fix deprecation warning #358

merged 1 commit into from
Nov 23, 2023

Conversation

EmilioCristalli
Copy link
Collaborator

DEPRECATION WARNING: Passing the class as positional argument is deprecated and will be removed in Rails 7.2.

Please pass the class as a keyword argument:

serialize :approvals, type: Array
(called from class:User at ~/mi_carrera/app/models/user.rb:6)

DEPRECATION WARNING: Passing the class as positional argument is deprecated and will be removed in Rails 7.2.

Please pass the class as a keyword argument:

  serialize :approvals, type: Array
 (called from <class:User> at ~/mi_carrera/app/models/user.rb:6)
@EmilioCristalli EmilioCristalli merged commit 0129d71 into master Nov 23, 2023
@EmilioCristalli EmilioCristalli deleted the deprecation-warning branch November 23, 2023 21:23
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