Module: Abstractor::Methods::Models::AbstractorSuggestionObjectValue

Included in:
AbstractorSuggestionObjectValue, SuggestionObjectValue
Defined in:
lib/abstractor/methods/models/abstractor_suggestion_object_value.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'lib/abstractor/methods/models/abstractor_suggestion_object_value.rb', line 5

def self.included(base)
  base.send :include, SoftDelete

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

  # base.send :attr_accessible, :abstractor_suggestion, :abstractor_suggestion_id, :abstractor_object_value, :abstractor_object_value_id, :deleted_at
end