class Book < ActiveRecord::Base has_many :authorships, :dependent => :destroy has_many :authors, :through => :authorships, :source => :person has_paper_trail end