Method: Sequel::Model::Associations::OneThroughOneAssociationReflection#default_right_key
- Defined in:
- lib/sequel/model/associations.rb
#default_right_key ⇒ Object
one_through_one associations should not singularize the association name when creating the foreign key.
1520 1521 1522 |
# File 'lib/sequel/model/associations.rb', line 1520 def default_right_key :"#{self[:name]}_id" end |