module Sequel::Model::Associations::AssociationDatasetMethods

This module contains methods added to all association datasets

Public Instance Methods

association_reflection() click to toggle source

The association reflection related to the association dataset

     # File lib/sequel/model/associations.rb
1477 def association_reflection
1478   @opts[:association_reflection]
1479 end
model_object() click to toggle source

The model object that created the association dataset

     # File lib/sequel/model/associations.rb
1472 def model_object
1473   @opts[:model_object]
1474 end

Private Instance Methods

non_sql_option?(key) click to toggle source
Calls superclass method
     # File lib/sequel/model/associations.rb
1483 def non_sql_option?(key)
1484   super || key == :model_object || key == :association_reflection
1485 end