Skip to content

Added kredis_boolean class method. #59

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

Merged
merged 1 commit into from
Feb 19, 2022
Merged

Added kredis_boolean class method. #59

merged 1 commit into from
Feb 19, 2022

Conversation

michaelkoper
Copy link
Contributor

Couldn't find a way to add a boolean in an active record model. Not sure there is an obvious way to do this, but just in case I added it in this PR.

It is now possible to do this:

class Person < Application
  kredis_boolean :onboarded
end

@dhh dhh merged commit 6c74e89 into rails:main Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants