aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.md
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-04-01 13:45:56 +0900
committeryui-knk <spiketeika@gmail.com>2015-04-01 13:45:56 +0900
commit8f73c3ff619c1ba390c0d6811975fe932d16ab19 (patch)
tree1faeafd15630e14f6db9e0714dd2aeea3bd3e098 /guides/source/active_record_querying.md
parenta6ecc06ecefa9b57116f26c1b545f545fadeb0ed (diff)
downloadrails-8f73c3ff619c1ba390c0d6811975fe932d16ab19.tar.gz
rails-8f73c3ff619c1ba390c0d6811975fe932d16ab19.tar.bz2
rails-8f73c3ff619c1ba390c0d6811975fe932d16ab19.zip
[ci skip] Fix `:having` option with `having` method
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 d6f3506aa5..98fb566222 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -655,7 +655,7 @@ GROUP BY status
Having
------
-SQL uses the `HAVING` clause to specify conditions on the `GROUP BY` fields. You can add the `HAVING` clause to the SQL fired by the `Model.find` by adding the `:having` option to the find.
+SQL uses the `HAVING` clause to specify conditions on the `GROUP BY` fields. You can add the `HAVING` clause to the SQL fired by the `Model.find` by adding the `having` method to the find.
For example: