aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorSergio <shernade@gmail.com>2013-09-04 16:50:10 +0200
committerSergio <shernade@gmail.com>2013-09-04 16:50:10 +0200
commit67d88b5040e93672c4122817a8e3b21720b2d9fd (patch)
treec5fe62aff983ce897eb4c1a601058464397834f7 /guides
parent08c7a9af0902ee040efcfeb95b935ed09494b8e4 (diff)
downloadrails-67d88b5040e93672c4122817a8e3b21720b2d9fd.tar.gz
rails-67d88b5040e93672c4122817a8e3b21720b2d9fd.tar.bz2
rails-67d88b5040e93672c4122817a8e3b21720b2d9fd.zip
Example of Join models
In the example of join models, there are five models but in the explanation only consider Category, Post, Comment and Guest.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index ba0dc6d9eb..ba0260c13c 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -943,7 +943,7 @@ WARNING: This method only works with `INNER JOIN`.
Active Record lets you use the names of the [associations](association_basics.html) defined on the model as a shortcut for specifying `JOIN` clause for those associations when using the `joins` method.
-For example, consider the following `Category`, `Post`, `Comments` and `Guest` models:
+For example, consider the following `Category`, `Post`, `Comment`, `Guest` and `Tag` models:
```ruby
class Category < ActiveRecord::Base