Module: Sequel::Model::Associations::AssociationDatasetMethods
- Defined in:
- lib/sequel/model/associations.rb
Overview
This module contains methods added to all association datasets
Instance Method Summary collapse
-
#association_reflection ⇒ Object
The association reflection related to the association dataset.
-
#model_object ⇒ Object
The model object that created the association dataset.
Instance Method Details
#association_reflection ⇒ Object
The association reflection related to the association dataset
1521 1522 1523 |
# File 'lib/sequel/model/associations.rb', line 1521 def association_reflection @opts[:association_reflection] end |
#model_object ⇒ Object
The model object that created the association dataset
1516 1517 1518 |
# File 'lib/sequel/model/associations.rb', line 1516 def model_object @opts[:model_object] end |