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


1457
1458
1459
# File 'lib/sequel/model/associations.rb', line 1457

def association_reflection
  @opts[:association_reflection]
end

#model_objectObject

The model object that created the association dataset


1452
1453
1454
# File 'lib/sequel/model/associations.rb', line 1452

def model_object
  @opts[:model_object]
end