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

Address rails 8 enum syntax deprecation #7

Merged
merged 4 commits into from
Aug 21, 2024

Conversation

harunkumars
Copy link
Contributor

  • The syntax for rich_enums itself is not changed as part of this release and will only support keyword syntax for now [i.e. existing rich_enums based code will continue to work without requiring any changes]. But internally when invoking ActiveRecord::Enum#enum it would use the correct syntax depending on the ActiveRecord version.

@harunkumars harunkumars merged commit fb7d848 into main Aug 21, 2024
10 checks passed
@harunkumars harunkumars deleted the address_rails_8_enum_syntax_deprecation branch August 21, 2024 19:03
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.

1 participant