module Sequel::Model::Associations::AssociationDatasetMethods

  1. lib/sequel/model/associations.rb

This module contains methods added to all association datasets

Methods

Public Instance

  1. association_reflection
  2. model_object

Public Instance methods

association_reflection()

The association reflection related to the association dataset

[show source]
     # File lib/sequel/model/associations.rb
1521 def association_reflection
1522   @opts[:association_reflection]
1523 end
model_object()

The model object that created the association dataset

[show source]
     # File lib/sequel/model/associations.rb
1516 def model_object
1517   @opts[:model_object]
1518 end