enummer
enummer copied to clipboard
🏳️🌈 Multi enums (aka flags) for Rails
Right now we use the same implementation for any database, but it would be preferable to support optimizations in each. Postgres, for example, provides a `bitstring` field which was actually...
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
Similar to the Rails `enum` behavior, allow initializing an `enummer` with a hash where the values correspond to the indices of the bits that map to the flag. This is...
Is there a way to read and write the underlaying integer? I'd like to use `enummer` for my rails-based stuff but in my JSON API i'd like to just send...
Lint-suggested changes.