https://github.com/twilightcoders/active_enum
Adds true enumeration support to ActiveRecord
https://github.com/twilightcoders/active_enum
Last synced: about 1 year ago
JSON representation
Adds true enumeration support to ActiveRecord
- Host: GitHub
- URL: https://github.com/twilightcoders/active_enum
- Owner: TwilightCoders
- License: mit
- Created: 2014-08-21T22:06:42.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-21T22:14:38.000Z (almost 12 years ago)
- Last Synced: 2025-05-30T11:35:54.819Z (about 1 year ago)
- Language: Ruby
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ActiveEnum
ActiveRecord lacks solid meaniningful support for true enumeration in databases. The best, most efficient enumerations are stored as integers, however numbers are often less meaningful to humans. To combat this, ActiveEnum aims to converts quickly and efficiently between different formats when reading from and writing to a database.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'active_enum'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install active_enum
## Usage
Coming soon.
## Contributing
1. Fork it ( https://github.com/twilightcoders/active_enum/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request