class Subscriber
  include Mongoid::Document

  field :nickname
  field :unread, :type => Integer, :default => 0
  field :page, :type => Integer
  field :post_id

  embedded_in :topic, :inverse_of => :subscribers

  validates_presence_of :nickname

end

class Subscriber
  include Mongoid::Document

  field :nickname
  field :unread, :type => Integer, :default => 0
  field :page, :type => Integer, :default => 1
  field :post_id

  embedded_in :topic, :inverse_of => :subscribers

  validates_presence_of :nickname

end

Set default to page 1
Set default to page 1
