Skip to content

Fix deprecation warning#358

Merged
EmilioCristalli merged 1 commit intomasterfrom
deprecation-warning
Nov 23, 2023
Merged

Fix deprecation warning#358
EmilioCristalli merged 1 commit intomasterfrom
deprecation-warning

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

Comments