diff options
author | Sergio <shernade@gmail.com> | 2013-09-04 16:50:10 +0200 |
---|---|---|
committer | Sergio <shernade@gmail.com> | 2013-09-04 16:50:10 +0200 |
commit | 67d88b5040e93672c4122817a8e3b21720b2d9fd (patch) | |
tree | c5fe62aff983ce897eb4c1a601058464397834f7 /guides/source | |
parent | 08c7a9af0902ee040efcfeb95b935ed09494b8e4 (diff) | |
download | rails-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/source')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
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 |