Version      Build Status Code Climate Test Coverage Dependencies

Doppel

Doppel provides convenience scopes on your ActiveRecord Models for finding similar or exact records.

Compatible with ActiveRecord 4.0, 4.1, 4.2, 5.0, 5.1

Usage

Add this line to your application's Gemfile:

gem 'doppel'

And then execute:

$ bundle

Or install it yourself as:

$ gem install doppel

Application Code

Doppel is automatically available to your ActiveRecord Models


class User < Account
  # ...
end

User.find_similar(:name)

Contributing

  1. Fork it ( https://github.com/TwilightCoders/active_record-mti/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