This gem extends ActiveRecord native support for MySQL ENUM data type in the database schema. It supports activerecord 4.2 and mysql2 adapter.
Add this line to your application's Gemfile:
gem 'activerecord-mysql-enum'
And then execute:
$ bundle
Or install it yourself as:
$ gem install activerecord-mysql-enum
TODO: Write usage instructions here
- Fork it ( https://github.com/[my-github-username]/activerecord-mysql-enum/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request