diff options
author | Samus_ <mail2samus@gmail.com> | 2010-12-03 18:05:52 -0200 |
---|---|---|
committer | Samus_ <mail2samus@gmail.com> | 2010-12-03 18:05:52 -0200 |
commit | 62d5bb26864f3139354b677fbf9cd9c5b13962b1 (patch) | |
tree | c2fa9b90ba771a1cfbbb32393566b1e1773f0a36 /railties | |
parent | 30bcdff4057374f8ca864bbbbc3f25e35b269801 (diff) | |
download | rails-62d5bb26864f3139354b677fbf9cd9c5b13962b1.tar.gz rails-62d5bb26864f3139354b677fbf9cd9c5b13962b1.tar.bz2 rails-62d5bb26864f3139354b677fbf9cd9c5b13962b1.zip |
typo
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile index e41b5fb606..b9ad7ccbd2 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/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: |