diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-04-01 01:52:58 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-04-01 01:52:58 -0300 |
commit | 69881fb03be8be5fa1cb56bb7a591006ec2becc3 (patch) | |
tree | 1faeafd15630e14f6db9e0714dd2aeea3bd3e098 /guides | |
parent | a6ecc06ecefa9b57116f26c1b545f545fadeb0ed (diff) | |
parent | 8f73c3ff619c1ba390c0d6811975fe932d16ab19 (diff) | |
download | rails-69881fb03be8be5fa1cb56bb7a591006ec2becc3.tar.gz rails-69881fb03be8be5fa1cb56bb7a591006ec2becc3.tar.bz2 rails-69881fb03be8be5fa1cb56bb7a591006ec2becc3.zip |
Merge pull request #19606 from yui-knk/fix/query_md
[ci skip] Fix `:having` option with `having` method
Diffstat (limited to 'guides')
-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: |