enumerize
https://github.com/brainspec/enumerize
Ruby
Enumerated attributes with I18n and ActiveRecord/Mongoid support
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
1 Subscribers
Add a CodeTriage badge to enumerize
Help out
- Issues
- Bump actions/checkout from 6 to 7
- Fix flaky tests
- Add Ruby 4.0 to the CI matrix
- Reduce memory usage by deduping strings and simplifying hash builder
- Build and memoize i18n keys lazily to reduce Value memory
- cast values to Enumerize::Value, filter invalid values on multiple
- Fix minor Ruby warnings
- Add failing test cases for ActiveRecord#normalizes
- Incompatible with ActiveRecord `normalizes`
- ActiveRecord _was method on integer enumerize attribute in child class is not returning enumerize value
- Docs
- Subscribe to help with docs for this repo and come back later