diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-04-29 19:38:39 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-04-29 19:38:39 -0300 |
commit | b4b73d9520a2ff27021b530ccd3dcd96973ce5fe (patch) | |
tree | 5a72648ea38f5ca0d739119d54617596d3e2b139 /spec/doubles | |
parent | 5e4bfb1ce4144785feaeffc6210740e3e4ce5770 (diff) | |
download | rails-b4b73d9520a2ff27021b530ccd3dcd96973ce5fe.tar.gz rails-b4b73d9520a2ff27021b530ccd3dcd96973ce5fe.tar.bz2 rails-b4b73d9520a2ff27021b530ccd3dcd96973ce5fe.zip |
Added DISTINCT support. Modified when to quote or not columns and tables.
Diffstat (limited to 'spec/doubles')
-rw-r--r-- | spec/doubles/database.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/doubles/database.rb b/spec/doubles/database.rb index 7670958d7a..f8a4b38e17 100644 --- a/spec/doubles/database.rb +++ b/spec/doubles/database.rb @@ -34,6 +34,10 @@ module Fake def quote_table_name(table_name) "`#{table_name}`" end + + def supports_count_distinct? + true + end end class Column |