Sha256: ef1cefda9da10a166bce67e845bb72d684ca64d77302d95450c24197ca0430d5

Contents?: true

Size: 160 Bytes

Versions: 10

Compression:

Stored size: 160 Bytes

Contents

class Translation < ActiveRecord::Base
  has_paper_trail if: proc { |t| t.language_code == "US" },
                  unless: proc { |t| t.type == "DRAFT" }
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/paper_trail-5.2.3/test/dummy/app/models/translation.rb
paper_trail-6.0.0 test/dummy/app/models/translation.rb
paper_trail-5.2.3 test/dummy/app/models/translation.rb
paper_trail-5.2.2 test/dummy/app/models/translation.rb
paper_trail-5.2.1 test/dummy/app/models/translation.rb
paper_trail-5.2.0 test/dummy/app/models/translation.rb
paper_trail-5.1.1 test/dummy/app/models/translation.rb
paper_trail-5.1.0 test/dummy/app/models/translation.rb
paper_trail-5.0.1 test/dummy/app/models/translation.rb
paper_trail-5.0.0 test/dummy/app/models/translation.rb