Sha256: 91997c7669717d0938c9dc510b7a3c2f164604c37bda1d392566242cc94a48b4

Contents?: true

Size: 563 Bytes

Versions: 25

Compression:

Stored size: 563 Bytes

Contents

module Abstractor
  module Methods
    module Models
      module AbstractorIndirectSource
        def self.included(base)
          base.send :include, SoftDelete

          # Associations
          base.send :belongs_to, :abstractor_abstraction_source
          base.send :belongs_to, :abstractor_abstraction

          # base.send :attr_accessible, :abstractor_abstraction_id, :abstractor_abstraction, :abstractor_abstraction_source_id, :abstractor_abstraction_source, :source_type, :source_id, :source_method, :reviewed
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
abstractor-4.1.1 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.1.0 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.0.2 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.0.1 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.0.0 lib/abstractor/methods/models/abstractor_indirect_source.rb