Sha256: f4c86b35b45badf35e6a8ab49a29bfcbc4a003a1755b1e15a5f33886c49e4a7a

Contents?: true

Size: 147 Bytes

Versions: 18

Compression:

Stored size: 147 Bytes

Contents

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

Version data entries

18 entries across 17 versions & 2 rubygems

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