Sha256: 0ca68374f5506528ec62b914f26ac5356a7b93375a2e5e9ceefd56f6d6022c72

Contents?: true

Size: 181 Bytes

Versions: 10

Compression:

Stored size: 181 Bytes

Contents

class Animal < ActiveRecord::Base
  has_paper_trail
  self.inheritance_column = 'species'

  attr_accessible :species, :name if ::PaperTrail.active_record_protected_attributes?
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
paper_trail-4.2.0 test/dummy/app/models/animal.rb
paper_trail-4.1.0 test/dummy/app/models/animal.rb
paper_trail-4.0.2 test/dummy/app/models/animal.rb
paper_trail-4.0.1 test/dummy/app/models/animal.rb
paper_trail-3.0.9 test/dummy/app/models/animal.rb
paper_trail-4.0.0 test/dummy/app/models/animal.rb
paper_trail-4.0.0.rc2 test/dummy/app/models/animal.rb
paper_trail-4.0.0.rc1 test/dummy/app/models/animal.rb
paper_trail-3.0.8 test/dummy/app/models/animal.rb
paper_trail-3.0.7 test/dummy/app/models/animal.rb