diff --git a/app/models/user.rb b/app/models/user.rb index e8a087d85..a3144cb9a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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)