diff options
author | yui-knk <spiketeika@gmail.com> | 2015-04-01 13:45:56 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-04-01 13:45:56 +0900 |
commit | 8f73c3ff619c1ba390c0d6811975fe932d16ab19 (patch) | |
tree | 1faeafd15630e14f6db9e0714dd2aeea3bd3e098 | |
parent | a6ecc06ecefa9b57116f26c1b545f545fadeb0ed (diff) | |
download | rails-8f73c3ff619c1ba390c0d6811975fe932d16ab19.tar.gz rails-8f73c3ff619c1ba390c0d6811975fe932d16ab19.tar.bz2 rails-8f73c3ff619c1ba390c0d6811975fe932d16ab19.zip |
[ci skip] Fix `:having` option with `having` method
-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 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: |