1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Copy over class Devise class methods onto EmbeddedDocument modules too

This commit is contained in:
lancecarlson 2009-12-28 20:49:23 +08:00 committed by José Valim
parent 6bd88461f6
commit 15bd4b1956

View file

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