Sha256: 6f19e0d785e297c8f30d09e2d01b21170a5cbc9aeff833a566c28242ea702eb1

Contents?: true

Size: 184 Bytes

Versions: 29

Compression:

Stored size: 184 Bytes

Contents

class Translation < ActiveRecord::Base
  has_paper_trail :if     => Proc.new { |t| t.language_code == 'US' },
                  :unless => Proc.new { |t| t.type == 'DRAFT'       }
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
paper_trail-4.2.0 test/dummy/app/models/translation.rb
paper_trail-4.1.0 test/dummy/app/models/translation.rb
paper_trail-4.0.2 test/dummy/app/models/translation.rb
paper_trail-4.0.1 test/dummy/app/models/translation.rb
paper_trail-3.0.9 test/dummy/app/models/translation.rb
paper_trail-4.0.0 test/dummy/app/models/translation.rb
paper_trail-4.0.0.rc2 test/dummy/app/models/translation.rb
paper_trail-4.0.0.rc1 test/dummy/app/models/translation.rb
paper_trail-3.0.8 test/dummy/app/models/translation.rb
paper_trail-3.0.7 test/dummy/app/models/translation.rb
paper_trail-4.0.0.beta2 test/dummy/app/models/translation.rb
paper_trail-4.0.0.beta1 test/dummy/app/models/translation.rb
paper_trail-3.0.6 test/dummy/app/models/translation.rb
paper_trail-3.0.5 test/dummy/app/models/translation.rb
paper_trail-3.0.2 test/dummy/app/models/translation.rb
paper_trail-3.0.1 test/dummy/app/models/translation.rb
paper_trail-3.0.0 test/dummy/app/models/translation.rb
paper_trail-3.0.0.rc2 test/dummy/app/models/translation.rb
paper_trail-3.0.0.rc1 test/dummy/app/models/translation.rb
paper_trail_without_deprecated-3.0.0.beta1 test/dummy/app/models/translation.rb