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 has_secure_token on: :initialize when column is not selected #49133

Merged

Conversation

fatkodima
Copy link
Member

Fixes #49130.

@Flixt
Copy link
Contributor

Flixt commented Sep 4, 2023

I independently came up with the exact same fix and test but was 10 minutes late. I'd say this can be merged.

@kamipo kamipo merged commit 2fbb25b into rails:main Sep 5, 2023
4 checks passed
@fatkodima fatkodima deleted the fix-has_secure_token-when-not-selected-column branch September 5, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

has_secure_token on: :initialize raises error when no attribute selected
3 participants