Merge branch 'master' of github.com:plataformatec/devise

This commit is contained in:
José Valim
2010-01-02 10:07:31 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -24,3 +24,4 @@ module Devise
end
MongoMapper::Document::ClassMethods.send(:include, Devise::Models)
MongoMapper::EmbeddedDocument::ClassMethods.send(:include, Devise::Models)