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.4.7 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.6 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.5 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.4 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.3 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.2 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.1 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.4.0 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.3.3 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.3.2 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.3.1 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.3.0 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.2.3 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.2.2 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.2.1 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.2.0 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.1.5 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.1.4 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.1.3 lib/abstractor/methods/models/abstractor_indirect_source.rb
abstractor-4.1.2 lib/abstractor/methods/models/abstractor_indirect_source.rb