Sha256: 55fe29397056a613503ea8872a43a12052a492a7448dad8649e5f55f6ff4ad5c

Contents?: true

Size: 616 Bytes

Versions: 4

Compression:

Stored size: 616 Bytes

Contents

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

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

          base.send :attr_accessible, :abstractor_abstraction_source, :abstractor_abstraction_source_id, :abstractor_suggestion, :abstractor_suggestion_id, :source_id, :source_type, :source_method, :match_value, :deleted_at, :sentence_match_value, :custom_method
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
abstractor-2.0.1 lib/abstractor/methods/models/abstractor_suggestion_source.rb
abstractor-2.0.0 lib/abstractor/methods/models/abstractor_suggestion_source.rb
abstractor-1.0.23 lib/abstractor/methods/models/abstractor_suggestion_source.rb
abstractor-1.0.22 lib/abstractor/methods/models/abstractor_suggestion_source.rb