Module: Mongoid::Association::Macros
- Extended by:
- ActiveSupport::Concern
- Included in:
- Mongoid::Association
- Defined in:
- lib/mongoid/association/macros.rb
Overview
This module contains the core macros for defining associations between documents. They can be either embedded or referenced.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#associations ⇒ Hash
This is convenience for libraries still on the old API.
Instance Method Details
#associations ⇒ Hash
This is convenience for libraries still on the old API.
54 55 56 |
# File 'lib/mongoid/association/macros.rb', line 54 def associations relations end |