A simple referral library.
Add this line to your application's Gemfile:
gem 'referrari'And then execute:
$ bundleOr install it yourself as:
$ gem install referrariRun the migrations in your app
rake app:referrari:install:migrationsThe user model is expected.
class User < ActiveRecord::Base
include Referrari::User
endFork it ( github.com/[my-github-username]/referrari/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
