Permalink
Browse files

Fix typo (see http://rails.lighthouseapp.com/projects/16213/tickets/13)

  • Loading branch information...
1 parent 3c1967e commit 816348a339ab384f8d7fdf43db623d61a21d36c0 @ffmike ffmike committed Sep 15, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 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
-------------------------------------------------------

0 comments on commit 816348a

Please sign in to comment.