This gem has been moved to the mince core gem, and this repo is deprecated
Version 2.0 Release Notice
This repo will be moved to @coffeencoke once version 2.0 is officially released.
Common model behavior for objects backed by Mince
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install mince_model
- Write your models as plain old Ruby objects.
- In your model,
- In your model, define the data model with
- In your model, define fields with
field :field_name, assignable: true.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request