Class | Sequel::Model::Associations::OneThroughOneAssociationReflection |
In: |
lib/sequel/model/associations.rb
|
Parent: | ManyToManyAssociationReflection |
one_through_one associations should not singularize the association name when creating the foreign key.
# File lib/sequel/model/associations.rb, line 1342 1342: def default_right_key 1343: 1344: "#{self[:name]}_id" 1345: end