class Sequel::Model::Associations::OneThroughOneAssociationReflection

  1. lib/sequel/model/associations.rb

Methods

Public Instance

  1. default_right_key
  2. reciprocal

Public Instance methods

default_right_key()

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

[show source]
     # File lib/sequel/model/associations.rb
1503 def default_right_key
1504   :"#{self[:name]}_id"
1505 end
reciprocal()

one_through_one associations have no reciprocals

[show source]
     # File lib/sequel/model/associations.rb
1508 def reciprocal
1509   nil
1510 end