oldhaven/rails/app/models/invite.rb
2011-04-09 17:20:36 +04:00

9 lines
165 B
Ruby

class Invite
include Mongoid::Document
store_in :invites
key :referer, Integer,
key :email, String,
key :code, String,
key :senton, Datetime
end