mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Merge branch 'master' of github.com:plataformatec/devise
This commit is contained in:
@@ -57,7 +57,7 @@ Devise must be set up within the model (or models) you want to use, and devise r
|
||||
|
||||
We're assuming here you want a User model. First of all you have to setup a migration with the following fields:
|
||||
|
||||
create_table :users do
|
||||
create_table :users do |t|
|
||||
t.authenticatable
|
||||
t.confirmable
|
||||
t.recoverable
|
||||
|
||||
@@ -24,3 +24,4 @@ module Devise
|
||||
end
|
||||
|
||||
MongoMapper::Document::ClassMethods.send(:include, Devise::Models)
|
||||
MongoMapper::EmbeddedDocument::ClassMethods.send(:include, Devise::Models)
|
||||
Reference in New Issue
Block a user