This project rocks and uses MIT-LICENSE.
Add to your Gemfile:gem 'connha'
Then run:
$ bundle update
Run install script:
$ rails g connha:install
And don't forget to migrate you database:
$ rake db:migrate
In your model:
class ModelName < ActiveRecord::Base
acts_as_connectable
end