Method: Correlate::ClassMethods#related_to

Defined in:
lib/correlate.rb

Depending on the containing class, this method configures either a Correlate::Relationships::CouchRest or a Correlate::Relationships::ActiveRecord.



79
80
81
# File 'lib/correlate.rb', line 79

def related_to( &block )
  Correlate::Relationships.configure!( self, &block )
end