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
1463 def association_reflection
1464   @opts[:association_reflection]
1465 end
model_object() click to toggle source

The model object that created the association dataset

     # File lib/sequel/model/associations.rb
1458 def model_object
1459   @opts[:model_object]
1460 end

Private Instance Methods

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