Class: Dart::Reflection::Sequel::NamingConventions
Instance Method Summary
collapse
#conventional_join_table_names, #long_association_name, #parent_table_for, #plural_association_name, #singular_association_name
Instance Method Details
#conventional_primary_key ⇒ Object
10
11
12
|
# File 'lib/dart/reflection/sequel/naming_conventions.rb', line 10
def conventional_primary_key
'id'
end
|
#foreign_key_regex ⇒ Object
14
15
16
|
# File 'lib/dart/reflection/sequel/naming_conventions.rb', line 14
def foreign_key_regex
/_id$/
end
|