Module | Mongoid::Relations::Macros |
In: |
lib/mongoid/relations/macros.rb
|
This module contains the core macros for defining relations between documents. They can be either embedded or referenced (relational).
This is convenience for librarys still on the old API.
@example Get the associations.
person.associations
@return [ Hash ] The relations.
@since 2.3.1