public
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/lifo/doc-rails.git
Rephrasing the documentation that introduces ActiveRecord asssociations.
Using simpler words and clearer sentences.
JackDanger (author)
Wed Mar 26 23:03:36 -0700 2008
commit  bf513b0379724a1487df250132e4d92adf35e4d0
tree    7894e7154955d6975e1d826a719382dd4f72d738
parent  41ab0bdf0f49224bdbe81ce0b6041949be358866
...
150
151
152
153
154
155
 
 
 
156
157
158
...
150
151
152
 
 
 
153
154
155
156
157
158
0
@@ -150,9 +150,9 @@ module ActiveRecord
0
     #
0
     # == Cardinality and associations
0
     #
0
- # ActiveRecord associations can be used to describe relations with one-to-one, one-to-many
0
- # and many-to-many cardinality. Each model uses an association to describe its role in
0
- # the relation. In each case, the +belongs_to+ association is used in the model that has
0
+ # ActiveRecord associations can be used to describe one-to-one, one-to-many and many-to-many
0
+ # relationships between models. Each model uses an association to describe its role in
0
+ # the relation. The +belongs_to+ association is always used in the model that has
0
     # the foreign key.
0
     #
0
     # === One-to-one

Comments

    No one has commented yet.