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
1493 def default_right_key
1494   :"#{self[:name]}_id"
1495 end
reciprocal() click to toggle source

one_through_one associations have no reciprocals

     # File lib/sequel/model/associations.rb
1498 def reciprocal
1499   nil
1500 end