From 816348a339ab384f8d7fdf43db623d61a21d36c0 Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Mon, 15 Sep 2008 16:37:52 -0500 Subject: Fix typo (see http://rails.lighthouseapp.com/projects/16213/tickets/13) --- railties/doc/guides/activerecord/association_basics.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'railties/doc/guides') 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 ------------------------------------------------------- -- cgit v1.2.3