class Sequel::Model::Associations::OneThroughOneAssociationReflection

Public Instance Methods

default_right_key() click to toggle source

one_through_one associations should not singularize the association name when creating the foreign key.

# File lib/sequel/model/associations.rb, line 1442
def default_right_key
  :"#{self[:name]}_id"
end
reciprocal() click to toggle source

one_through_one associations have no reciprocals

# File lib/sequel/model/associations.rb, line 1447
def reciprocal
  nil
end