Sha256: ead458302cdd923bf1adea0f89c38d842397404a82f9d58f0cce843b618b496c
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
module Unidom::Standard::Concerns::AsTargetStandard extend ActiveSupport::Concern included do |includer| has_many :source_associatings, class_name: 'Unidom::Standard::StandardAssociating', foreign_key: :target_id has_many :source_standards, through: :source_associatings, source: :source end module ClassMethods end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-standard-1.1 | app/models/unidom/standard/concerns/as_target_standard.rb |