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.5.2 test/dummy/app/models/book.rb
paper_trail-2.5.0 test/dummy/app/models/book.rb
paper_trail-2.4.1 test/dummy/app/models/book.rb
paper_trail-2.4.0 test/dummy/app/models/book.rb
bkwld-paper_trail-2.3.3 test/dummy/app/models/book.rb
paper_trail-2.3.3 test/dummy/app/models/book.rb
bkwld-paper_trail-2.3.2 test/dummy/app/models/book.rb
paper_trail-2.3.2 test/dummy/app/models/book.rb
paper_trail-2.3.1 test/dummy/app/models/book.rb
paper_trail-2.3.0 test/dummy/app/models/book.rb
paper_trail-2.2.9 test/dummy/app/models/book.rb
paper_trail-2.2.8 test/dummy/app/models/book.rb
paper_trail-2.2.7 test/dummy/app/models/book.rb
paper_trail-2.2.6 test/dummy/app/models/book.rb
paper_trail-2.2.5 test/dummy/app/models/book.rb
paper_trail-2.2.4 test/dummy/app/models/book.rb
paper_trail-2.2.3 test/dummy/app/models/book.rb
paper_trail-2.2.2 test/dummy/app/models/book.rb
paper_trail-2.2.1 test/dummy/app/models/book.rb
paper_trail-2.2.0 test/dummy/app/models/book.rb