Class: Yogo::Collection::Relationship::ManyToMany

Inherits:
Yogo::Collection::Relationship show all
Defined in:
lib/yogo/collection/property.rb

Constant Summary

Constants inherited from Property

Property::COMMON_PROPERTIES

Instance Method Summary collapse

Methods inherited from Yogo::Collection::Relationship

#as_json, #check_target, #model_method, #target_model

Methods inherited from Property

#as_json, #field_name, #model_method, #to_s, #update_attributes

Instance Method Details

#add_to_model(model) ⇒ Object



97
98
99
# File 'lib/yogo/collection/property.rb', line 97

def add_to_model(model)
  super(model, Infinity, :through => ::DataMapper::Resource)
end