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

docs: bitstring attributes are strings [ci-skip] #43927

Merged

Conversation

maxnotarangelo
Copy link
Contributor

Summary

I got a little bit confused by this line in the guide. I tested it out, and it ended up being incorrect. Bit string attributes on an active record model always return strings, never integers.

@rails-bot rails-bot bot added the docs label Dec 18, 2021
@jonathanhefner jonathanhefner merged commit 260f735 into rails:main Dec 18, 2021
@jonathanhefner
Copy link
Member

Thank you, @maxnotarangelo!

rafaelfranca pushed a commit that referenced this pull request Dec 20, 2021
…example

docs: bitstring attributes are strings [ci-skip]
@maxnotarangelo maxnotarangelo deleted the fix-typo-in-bit-string-example branch January 5, 2022 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants