aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-03-04 11:44:25 +0530
committerVipul A M <vipulnsward@gmail.com>2017-03-04 11:44:25 +0530
commitc0f621ae63b048c02a1c8341a7c093e8a76c0e7e (patch)
tree74c6e7809af8cd40ad83d7a5465a12b64b278218 /guides/source/active_record_querying.md
parent3a72b555cfe3369aa7ca347c7ebc6f28b4940083 (diff)
downloadrails-c0f621ae63b048c02a1c8341a7c093e8a76c0e7e.tar.gz
rails-c0f621ae63b048c02a1c8341a7c093e8a76c0e7e.tar.bz2
rails-c0f621ae63b048c02a1c8341a7c093e8a76c0e7e.zip
Fix generated query in Retrieving specific data from multiple tables section [ci skip]
Diffstat (limited to 'guides/source/active_record_querying.md')
-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 31220f9be2..690884caf9 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -1547,7 +1547,7 @@ SELECT people.id, people.name, comments.text
FROM people
INNER JOIN comments
ON comments.person_id = people.id
-WHERE comments.created_at = '2015-01-01'
+WHERE comments.created_at > '2015-01-01'
```
### Retrieving specific data from multiple tables