Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (15 sloc) 0.858 kb
21f868b @kelsin Upped the version and fixed some problems
authored
1 # Devise - MongoMapper
2
3 This gem lets you use devise with MongoMapper. It's based on the
4 [mongoid file](https://github.com/plataformatec/devise/blob/master/lib/devise/orm/mongoid.rb)
5 that's included in Devise.
6
7 ## Installation
8
9 First include this gem in your Gemfile for your devise project:
10
11 gem 'devise-mongo_mapper', :path => '~/src/devise-mongo_mapper'
12
13 Notes: This gem does require devise and mongo_mapper so you don't need to
14 specify those gems unless you want specific versions of them. You should also
15 probably add the bson_ext gem since it helps speed up the mongo ruby driver
16 significantly.
17
18 Next uncomment the following line in your config/intializers/devise.rb file:
19
20 require 'devise/orm/mongo_mapper'
21
22 This line was in my current devise.rb install, if it's not there make sure to
23 comment out any other devise/orm lines and add this one.
Something went wrong with that request. Please try again.