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


1474
1475
1476
# File 'lib/sequel/model/associations.rb', line 1474

def association_reflection
  @opts[:association_reflection]
end

#model_objectObject

The model object that created the association dataset


1469
1470
1471
# File 'lib/sequel/model/associations.rb', line 1469

def model_object
  @opts[:model_object]
end