orbit-basic/app/models/desktop_widget.rb

11 lines
169 B
Ruby
Raw Normal View History

2012-05-07 11:00:50 +00:00
class DesktopWidget
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :author
field :shape
field :user_id
belongs_to :user
end