Skip to content

TwilightCoders/active_enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

About

Adds true enumeration support to ActiveRecord

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages