Class: Dart::Database::ManyToOneAssociation
- Inherits:
-
ManyToOneAssociation
- Object
- Association
- Dart::DirectAssociation
- ManyToOneAssociation
- Dart::Database::ManyToOneAssociation
- Defined in:
- lib/dart/database/many_to_one_association.rb
Overview
A Database::ManyToOneAssociation extends Dart::ManyToOneAssociation with naming conventions
Constant Summary
Constants inherited from Dart::DirectAssociation
Dart::DirectAssociation::ATTRIBUTES
Constants inherited from Association
Association::MANY_TO_MANY_TYPE, Association::MANY_TO_ONE_TYPE, Association::ONE_TO_MANY_TYPE, Association::ONE_TO_ONE_TYPE
Instance Attribute Summary
Attributes inherited from Association
Instance Method Summary collapse
-
#initialize ⇒ ManyToOneAssociation
constructor
A new instance of ManyToOneAssociation.
Methods included from NamingConventions::ManyToOneAssociationHelpers
#conventional_name, #name_is_conventional?
Methods included from NamingConventions::DirectAssociationHelpers
#conventional_foreign_key?, #conventional_parent?, #conventional_primary_key?
Methods included from NamingConventions::AssociationHelpers
#naming_conventions, #set_conventional_name!
Methods inherited from ManyToOneAssociation
#associated_table, #to_one?, #type
Methods inherited from Dart::DirectAssociation
Methods inherited from Association
Constructor Details
#initialize ⇒ ManyToOneAssociation
Returns a new instance of ManyToOneAssociation.
7 8 9 10 |
# File 'lib/dart/database/many_to_one_association.rb', line 7 def initialize(*) super set_conventional_name! end |