Method: Correlate::ClassMethods#related_to
- Defined in:
- lib/correlate.rb
#related_to(&block) ⇒ Object
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 ( &block ) Correlate::Relationships.configure!( self, &block ) end |