Sha256: d8188541d57400138f797b5b958ee8f24175cf8c32010edb3b7ed864d11e8396

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

# The `legacy_widgets` table has a `version` column that would conflict with our
# `version` method. It is configured to define a method named `custom_version`
# instead.
class LegacyWidget < ActiveRecord::Base
  has_paper_trail ignore: :version, version: "custom_version"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paper_trail-7.1.0 spec/dummy_app/app/models/legacy_widget.rb