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

Depracation warning for Rails 7.2 fixed - enum #1386

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

webhoernchen
Copy link
Contributor

Context

When I use Rails 7.2.X then the following deprecation warning is listed:

Defining enums with keyword arguments is deprecated and will be removed in Rails 8.0

Changes proposed in this pull request

Add a switch for the new Rails version to support the new enum syntax

Guidance to review

The deprecation warning is no longer listed

Depracation warning for Rails 7.2.11/8 fixed.
in Rails 8.0. Positional arguments should be used instead:
support for older Rails version added
@Bramjetten Bramjetten merged commit d5b7770 into SpinaCMS:main Oct 23, 2024
1 check passed
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