Sha256: 97abf23544dd061bbc1ccaed51295cf12a67ce5a5cf08f502f4ecde87ab9d4ca

Contents?: true

Size: 168 Bytes

Versions: 11

Compression:

Stored size: 168 Bytes

Contents

# frozen_string_literal: true

class Fruit < ActiveRecord::Base
  has_paper_trail class_name: 'JsonVersion' if ENV['DB'] == 'postgres' || JsonVersion.table_exists?
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
paper_trail_scrapbook-0.1.21 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.20 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.19 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.18 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.17 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.16 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.15 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.13 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.12 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.11 spec/dummy_app/app/models/fruit.rb
paper_trail_scrapbook-0.1.10 spec/dummy_app/app/models/fruit.rb