/activerecord-mysql-enum

Extends support for the MySQL ENUM type for ActiveRecord

Primary LanguageRubyMIT LicenseMIT

Activerecord::Mysql::Enum

This gem extends ActiveRecord native support for MySQL ENUM data type in the database schema. It supports activerecord 4.2 and mysql2 adapter.

Ancestors

Installation

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

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( https://github.com/[my-github-username]/activerecord-mysql-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