Sha256: 831d2a1e6b0e82f5b1eca04e84de9cc79102e19547107b632a8ccb956340197d

Contents?: true

Size: 232 Bytes

Versions: 19

Compression:

Stored size: 232 Bytes

Contents

class Book < ActiveRecord::Base
  has_many :authorships, dependent: :destroy
  has_many :authors, through: :authorships

  has_many :editorships, dependent: :destroy
  has_many :editors, through: :editorships

  has_paper_trail
end

Version data entries

19 entries across 18 versions & 3 rubygems

Version Path
paper_trail-7.1.0 spec/dummy_app/app/models/book.rb
paper_trail_scrapbook-0.0.2 spec/dummy_app/app/models/book.rb
paper_trail-7.0.3 test/dummy/app/models/book.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/paper_trail-5.2.3/test/dummy/app/models/book.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/paper_trail-7.0.2/test/dummy/app/models/book.rb
paper_trail-7.0.2 test/dummy/app/models/book.rb
paper_trail-7.0.1 test/dummy/app/models/book.rb
paper_trail-7.0.0 test/dummy/app/models/book.rb
paper_trail-6.0.2 test/dummy/app/models/book.rb
paper_trail-6.0.1 test/dummy/app/models/book.rb
paper_trail-6.0.0 test/dummy/app/models/book.rb
paper_trail-5.2.3 test/dummy/app/models/book.rb
paper_trail-5.2.2 test/dummy/app/models/book.rb
paper_trail-5.2.1 test/dummy/app/models/book.rb
paper_trail-5.2.0 test/dummy/app/models/book.rb
paper_trail-5.1.1 test/dummy/app/models/book.rb
paper_trail-5.1.0 test/dummy/app/models/book.rb
paper_trail-5.0.1 test/dummy/app/models/book.rb
paper_trail-5.0.0 test/dummy/app/models/book.rb