Class: Dart::Database::OneToManyAssociation
- Inherits:
-
OneToManyAssociation
- Object
- Association
- Dart::DirectAssociation
- OneToManyAssociation
- Dart::Database::OneToManyAssociation
- Defined in:
- lib/dart/database/one_to_many_association.rb
Overview
A Database::OneToManyAssociation extends Dart::OneToManyAssociation 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 ⇒ OneToManyAssociation
constructor
A new instance of OneToManyAssociation.
Methods included from NamingConventions::OneToManyAssociationHelpers
#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 OneToManyAssociation
Methods inherited from Dart::DirectAssociation
Methods inherited from Association
Constructor Details
#initialize ⇒ OneToManyAssociation
Returns a new instance of OneToManyAssociation.
7 8 9 10 |
# File 'lib/dart/database/one_to_many_association.rb', line 7 def initialize(*) super set_conventional_name! end |