aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/association_basics.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-23 15:27:43 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-23 15:27:43 -0300
commit83b92c67ccdec1961b563d1ca8eee68b3fa6ecc3 (patch)
tree530db35e8685d8e325c05a5cdcf3a866b41a5ca6 /guides/source/association_basics.md
parent9f1b43b924732e227b3633d9010ae704e814e4fb (diff)
downloadrails-83b92c67ccdec1961b563d1ca8eee68b3fa6ecc3.tar.gz
rails-83b92c67ccdec1961b563d1ca8eee68b3fa6ecc3.tar.bz2
rails-83b92c67ccdec1961b563d1ca8eee68b3fa6ecc3.zip
Fix the model name in the association basics guides
[ci skip]
Diffstat (limited to 'guides/source/association_basics.md')
-rw-r--r--guides/source/association_basics.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md
index c58dd2e90a..8ef982f8c5 100644
--- a/guides/source/association_basics.md
+++ b/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