diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-09-15 16:37:52 -0500 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-09-15 16:37:52 -0500 |
commit | 816348a339ab384f8d7fdf43db623d61a21d36c0 (patch) | |
tree | 76a89fa1851ea681fa5583f5da0ed6e660506f88 /railties | |
parent | 3c1967ee71b1cf565f184b7ff6189500c674bb82 (diff) | |
download | rails-816348a339ab384f8d7fdf43db623d61a21d36c0.tar.gz rails-816348a339ab384f8d7fdf43db623d61a21d36c0.tar.bz2 rails-816348a339ab384f8d7fdf43db623d61a21d36c0.zip |
Fix typo (see http://rails.lighthouseapp.com/projects/16213/tickets/13)
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/activerecord/association_basics.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/doc/guides/activerecord/association_basics.txt b/railties/doc/guides/activerecord/association_basics.txt index 704971d0e8..58c4738a49 100644 --- a/railties/doc/guides/activerecord/association_basics.txt +++ b/railties/doc/guides/activerecord/association_basics.txt @@ -104,10 +104,11 @@ end === The +has_many+ Association A +has_many+ association indicates a one-to-many connection with another model. You'll often find this association on the "other side" of a +belongs_to+ association. This association indicates that each instance of the model has zero or more instances of another model. For example, in an application containing customers and orders, the customer model could be declared like this: + [source, ruby] ------------------------------------------------------- class Customer < ActiveRecord::Base - has_many :customers + has_many :orders end ------------------------------------------------------- |