Sha256: 311d9de02fd0bc11245bd04b57e76274bf07637e21691a06a0c14d9d7068ab6c

Contents?: true

Size: 148 Bytes

Versions: 30

Compression:

Stored size: 148 Bytes

Contents

class Person < ActiveRecord::Base
  has_many :authorships, :dependent => :destroy
  has_many :books, :through => :authorships
  has_paper_trail
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
paper_trail-2.2.4 test/dummy/app/models/person.rb
paper_trail-2.2.3 test/dummy/app/models/person.rb
paper_trail-2.2.2 test/dummy/app/models/person.rb
paper_trail-2.2.1 test/dummy/app/models/person.rb
paper_trail-2.2.0 test/dummy/app/models/person.rb
paper_trail-2.1.1 test/dummy/app/models/person.rb
paper_trail-2.1.0 test/dummy/app/models/person.rb
paper_trail-2.0.2 test/dummy/app/models/person.rb
paper_trail-2.0.1 test/dummy/app/models/person.rb
paper_trail-2.0.0 test/dummy/app/models/person.rb