mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixes broken links in associations guide
This commit is contained in:
parent
35263f93bf
commit
8a4247a3ff
1 changed files with 7 additions and 7 deletions
|
@ -724,7 +724,7 @@ NOTE: There's no need to use +:include+ for immediate associations - that is, if
|
|||
|
||||
h6. +:polymorphic+
|
||||
|
||||
Passing +true+ to the +:polymorphic+ option indicates that this is a polymorphic association. Polymorphic associations were discussed in detail <a href="#polymorphic-associations">earlier in this guide</a>.
|
||||
Passing +true+ to the +:polymorphic+ option indicates that this is a polymorphic association. Polymorphic associations were discussed in detail <a href="#polymorphicassociations">earlier in this guide</a>.
|
||||
|
||||
h6. +:readonly+
|
||||
|
||||
|
@ -848,7 +848,7 @@ The +has_one+ association supports these options:
|
|||
|
||||
h6. +:as+
|
||||
|
||||
Setting the +:as+ option indicates that this is a polymorphic association. Polymorphic associations were discussed in detail <a href="#polymorphic-associations">earlier in this guide</a>.
|
||||
Setting the +:as+ option indicates that this is a polymorphic association. Polymorphic associations were discussed in detail <a href="#polymorphicassociations">earlier in this guide</a>.
|
||||
|
||||
h6. +:autosave+
|
||||
|
||||
|
@ -952,7 +952,7 @@ The +:source_type+ option specifies the source association type for a +has_one :
|
|||
|
||||
h6. :through
|
||||
|
||||
The +:through+ option specifies a join model through which to perform the query. +has_one :through+ associations were discussed in detail <a href="#thehas-onethrough-association">earlier in this guide</a>.
|
||||
The +:through+ option specifies a join model through which to perform the query. +has_one :through+ associations were discussed in detail <a href="#thehas-onethroughassociation">earlier in this guide</a>.
|
||||
|
||||
h6. +:validate+
|
||||
|
||||
|
@ -1158,7 +1158,7 @@ The +has_many+ association supports these options:
|
|||
|
||||
h6. +:as+
|
||||
|
||||
Setting the +:as+ option indicates that this is a polymorphic association, as discussed <a href="#polymorphic-associations">earlier in this guide</a>.
|
||||
Setting the +:as+ option indicates that this is a polymorphic association, as discussed <a href="#polymorphicassociations">earlier in this guide</a>.
|
||||
|
||||
h6. +:autosave+
|
||||
|
||||
|
@ -1210,7 +1210,7 @@ NOTE: This option is ignored when you use the +:through+ option on the associati
|
|||
|
||||
h6. +:extend+
|
||||
|
||||
The +:extend+ option specifies a named module to extend the association proxy. Association extensions are discussed in detail <a href="#association-extensions">later in this guide</a>.
|
||||
The +:extend+ option specifies a named module to extend the association proxy. Association extensions are discussed in detail <a href="#associationextensions">later in this guide</a>.
|
||||
|
||||
h6. +:finder_sql+
|
||||
|
||||
|
@ -1323,7 +1323,7 @@ The +:source_type+ option specifies the source association type for a +has_many
|
|||
|
||||
h6. +:through+
|
||||
|
||||
The +:through+ option specifies a join model through which to perform the query. +has_many :through+ associations provide a way to implement many-to-many relationships, as discussed <a href="#thehas-manythrough-association">earlier in this guide</a>.
|
||||
The +:through+ option specifies a join model through which to perform the query. +has_many :through+ associations provide a way to implement many-to-many relationships, as discussed <a href="#thehas-manythroughassociation">earlier in this guide</a>.
|
||||
|
||||
h6. +:uniq+
|
||||
|
||||
|
@ -1589,7 +1589,7 @@ Normally Rails automatically generates the proper SQL to remove links between th
|
|||
|
||||
h6. +:extend+
|
||||
|
||||
The +:extend+ option specifies a named module to extend the association proxy. Association extensions are discussed in detail <a href="#association-extensions">later in this guide</a>.
|
||||
The +:extend+ option specifies a named module to extend the association proxy. Association extensions are discussed in detail <a href="#associationextensions">later in this guide</a>.
|
||||
|
||||
h6. +:finder_sql+
|
||||
|
||||
|
|
Loading…
Reference in a new issue