class Post
  include Mongoid::Document
  include Mongoid::Timestamps
  include OrbitCoreLib::ObjectAuthable
  
  field :title, :type => String
  field :body, :type => String
  embeds_many :comments
  validates_presence_of :title, :body
end