Permalink
Browse files

Fix the model name in the association basics guides

[ci skip]
  • Loading branch information...
1 parent 9f1b43b commit 83b92c67ccdec1961b563d1ca8eee68b3fa6ecc3 @rafaelfranca rafaelfranca committed Sep 23, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 guides/source/association_basics.md
@@ -261,7 +261,10 @@ With `through: :sections` specified, Rails will now understand:
### The `has_one :through` Association
-A `has_one :through` association sets up a one-to-one connection with another model. This association indicates that the declaring model can be matched with one instance of another model by proceeding _through_ a third model. For example, if each supplier has one account, and each account is associated with one account history, then the customer model could look like this:
+A `has_one :through` association sets up a one-to-one connection with another model. This association indicates
+that the declaring model can be matched with one instance of another model by proceeding _through_ a third model.
+For example, if each supplier has one account, and each account is associated with one account history, then the
+supplier model could look like this:
```ruby
class Supplier < ActiveRecord::Base

0 comments on commit 83b92c6

Please sign in to comment.