Index on email

This commit is contained in:
Raphael 2010-08-17 16:24:52 -07:00
parent 61d0485e3d
commit ba83cb9d29

View file

@ -21,6 +21,7 @@ class User
######## Making things work ########
key :email, String
ensure_index :email
def method_missing(method, *args)
self.person.send(method, *args)