orbit-basic/app/models/user.rb

8 lines
145 B
Ruby

class User
include MongoMapper::Document
devise :authenticatable, :recoverable, :rememberable, :trackable
key :use_attributes
end