Sha256: b0f817c3ff6bf6c368b7b7b82d1c8218c5cbde40652e5c140027ec2079a9cae1

Contents?: true

Size: 168 Bytes

Versions: 45

Compression:

Stored size: 168 Bytes

Contents

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

Version data entries

45 entries across 45 versions & 3 rubygems

Version Path
paper_trail-2.1.1 test/dummy/app/models/book.rb
paper_trail-2.1.0 test/dummy/app/models/book.rb
paper_trail-2.0.2 test/dummy/app/models/book.rb
paper_trail-2.0.1 test/dummy/app/models/book.rb
paper_trail-2.0.0 test/dummy/app/models/book.rb