Created: 2012-08-20 21:56
Updated: 2014-01-01 14:20
License: mit


This gem has been moved to the mince core gem, and this repo is deprecated

Version 2.0 Release Notice

Version 2.0 is currently in preview, available on http://rubygems.org and at @coffeencoke's github repo

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:

gem 'mince_model'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mince_model


  1. Write your models as plain old Ruby objects.
  2. In your model, include MinceModel.
  3. In your model, define the data model with data_model DataModelClass.
  4. In your model, define fields with field :field_name, assignable: true.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more