Sha256: 1aeca9ef2585987dfff4d5778ea3649774aca2dba7235daad4e3fbdd354ebc7b

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

# Turn on associations tracking when the test suite is run on Travis CI
PaperTrail.config.track_associations = true if ENV['TRAVIS']

module PaperTrail
  class Version < ActiveRecord::Base
    attr_accessible :answer, :action, :question, :article_id, :ip, :user_agent, :title if ::PaperTrail.active_record_protected_attributes?
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
paper_trail-4.0.2 test/dummy/config/initializers/paper_trail.rb
paper_trail-4.0.1 test/dummy/config/initializers/paper_trail.rb
paper_trail-4.0.0 test/dummy/config/initializers/paper_trail.rb
paper_trail-4.0.0.rc2 test/dummy/config/initializers/paper_trail.rb
paper_trail-4.0.0.rc1 test/dummy/config/initializers/paper_trail.rb