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

Instance Method Details

#association_reflectionObject

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_objectObject

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