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 1521 def association_reflection 1522 @opts[:association_reflection] 1523 end
model_object()
click to toggle source
The model object that created the association dataset
# File lib/sequel/model/associations.rb 1516 def model_object 1517 @opts[:model_object] 1518 end
Private Instance Methods
non_sql_option?(key)
click to toggle source
Calls superclass method
# File lib/sequel/model/associations.rb 1527 def non_sql_option?(key) 1528 super || key == :model_object || key == :association_reflection 1529 end