2011-04-09 17:20:36 +04:00

12 lines
249 B
Ruby

class User
include Mongoid::Document
store_in :users
key :name, String,
key :password, String,
key :email, String,
key :regdate, Datetime,
key :invites, Integer,
key :referer, Integer,
key :active, Integer
end