Rails banyak ke banyak hubungan model yang sama

class PageAssociation < ActiveRecord::Base

  belongs_to :left_page, :class_name => 'Page'
  belongs_to :right_page, :class_name => 'Page'

end
Prickly Pony