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, line 1456
def association_reflection
  @opts[:association_reflection]
end
model_object() click to toggle source

The model object that created the association dataset

# File lib/sequel/model/associations.rb, line 1451
def model_object
  @opts[:model_object]
end

Private Instance Methods

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