Sha256: 03a43d9c0879527a0bf3ceecc8a97ace594224422d4778280f824b8d91ab6aba
Contents?: true
Size: 455 Bytes
Versions: 10
Compression:
Stored size: 455 Bytes
Contents
require "active_support/concern" module PaperTrail # Functionality for `PaperTrail::VersionAssociation`. Exists in a module # for the same reasons outlined in version_concern.rb. module VersionAssociationConcern extend ::ActiveSupport::Concern included do belongs_to :version if PaperTrail.active_record_protected_attributes? attr_accessible :version_id, :foreign_key_name, :foreign_key_id end end end end
Version data entries
10 entries across 10 versions & 2 rubygems