Sha256: a2dc6f868cde2e2f3887ebca7e610fa85c19ea8706edf0dad9098a4719101bca

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

module Unidom::Standard::Concerns::AsSourceStandard

  extend ActiveSupport::Concern

  included do |includer|

    has_many :target_associatings, class_name: 'Unidom::Standard::StandardAssociating', foreign_key: :source_id
    has_many :target_standards,    through:    :target_associatings,                    source:      :target

  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_source_standard.rb