Permalink
Browse files

typo

  • Loading branch information...
1 parent d2003a2 commit b4b6ffe1149a86794219fe9a978714d0cd67b953 @git2samus git2samus committed with fxn Dec 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_record_querying.textile
@@ -450,7 +450,7 @@ SQL uses the +HAVING+ clause to specify conditions on the +GROUP BY+ fields. You
For example:
<ruby>
-Order.group("date(created_at)".having("created_at > ?", 1.month.ago)
+Order.group("date(created_at)").having("created_at > ?", 1.month.ago)
</ruby>
The SQL that would be executed would be something like this:

0 comments on commit b4b6ffe

Please sign in to comment.