Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 952 Bytes

README.rdoc

File metadata and controls

20 lines (15 loc) · 952 Bytes

# devise_oauth2_providable_mongoid

This gem provides Mongoid behaviour for my custom version of devise_oauth2_providable gem

My problem with original devise_oauth2_providable gem was :

* It was dedicated only to ActiveRecord ORM, I'm using Mongoid
* It forces to use provided models, I needed to plug behaviour in my own models

## Usage

Check out the core gem README at github.com/proxygear/devise_oauth2_providable But for the basic, you just need to :

““.rb gem ‘devise_oauth2_providable’, :git => ‘github.com/proxygear/devise_oauth2_providable.git’ # The :branch => :mongo_mapper_orm is not necessary anymore. I did merge it into the master. gem ‘devise_oauth2_providable_mongoid’, :git => ‘github.com/proxygear/devise_oauth2_providable_mongoid.git’ ““