Sha256: 9b668b5582c3e21911ceffb07592a999c80d5487b8119053d02c1d49a2df55e3

Contents?: true

Size: 150 Bytes

Versions: 7

Compression:

Stored size: 150 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paper_trail-4.2.0 test/dummy/app/models/fruit.rb
paper_trail-4.1.0 test/dummy/app/models/fruit.rb
paper_trail-4.0.2 test/dummy/app/models/fruit.rb
paper_trail-4.0.1 test/dummy/app/models/fruit.rb
paper_trail-4.0.0 test/dummy/app/models/fruit.rb
paper_trail-4.0.0.rc2 test/dummy/app/models/fruit.rb
paper_trail-4.0.0.rc1 test/dummy/app/models/fruit.rb