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
# File lib/mongoid/relations/macros.rb, line 24 def associations self.relations end
Generated with the Darkfish Rdoc Generator 2.