Module: Mongoid::Relations::Macros
- Extended by:
- ActiveSupport::Concern
- Included in:
- Mongoid::Relations
- Defined in:
- build/mongoid-6.1/lib/mongoid/relations/macros.rb
Overview
This module contains the core macros for defining relations between documents. They can be either embedded or referenced (relational).
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#associations ⇒ Hash
This is convenience for librarys still on the old API.
Instance Method Details
#associations ⇒ Hash
This is convenience for librarys still on the old API.
27 28 29 |
# File 'build/mongoid-6.1/lib/mongoid/relations/macros.rb', line 27 def associations self.relations end |