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
1704 1705 1706 |
# File 'lib/sequel/model/associations.rb', line 1704 def association_reflection @opts[:association_reflection] end |
#model_object ⇒ Object
The model object that created the association dataset
1699 1700 1701 |
# File 'lib/sequel/model/associations.rb', line 1699 def model_object @opts[:model_object] end |