1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/lib/paper_trail/version_association_concern.rb
Jared Beck b7b4119147 Require AR and AS: require all and earlier
Fixes a rare issue with load order when using PT outside of rails.
2018-01-31 12:25:31 -05:00

13 lines
313 B
Ruby

# frozen_string_literal: true
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
end
end
end