ActiveRecord_AssociationActiveRecord_Association is the base class from which all association implementations inherit.
Located in /activerecord/lib/ActiveRecord/Association.php (line 10)
| Class | Description |
|---|---|
ActiveRecord_Association_BelongsTo
|
Implements the belongs_to association |
ActiveRecord_Association_HasMany
|
Implements the has_many association |
ActiveRecord_Association_HasOne
|
Implements the has_one association |
class_name (line 25)
Return the class name for this association
do_include (line 38)
Implements the 'include' behavior for a find operation
foreign_key (line 31)
Return the foreign key name for this association
name (line 19)
Return the name of this association
Documentation generated on Wed, 25 Apr 2012 09:46:39 -0700 by phpDocumentor 1.4.3