aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-08 16:29:08 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-08 16:29:08 -0700
commit539572f023da47c47877fe31b58303cc4b7015b5 (patch)
tree0cf5ec69d2ec2ac7c7cde19c4c4ffa44b4fa3021 /lib/arel
parent24000a51a7e61c065817e3910bd579e8bdf6f82f (diff)
downloadrails-539572f023da47c47877fe31b58303cc4b7015b5.tar.gz
rails-539572f023da47c47877fe31b58303cc4b7015b5.tar.bz2
rails-539572f023da47c47877fe31b58303cc4b7015b5.zip
we can visit floats!
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/visitors/to_sql.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb
index 60f30967cf..12967d27ad 100644
--- a/lib/arel/visitors/to_sql.rb
+++ b/lib/arel/visitors/to_sql.rb
@@ -154,6 +154,7 @@ module Arel
def visit_Symbol o; quote(o) end
def visit_Time o; quote(o) end
def visit_Date o; quote(o) end
+ def visit_Float o; quote(o) end
def visit_BigDecimal o; quote(o) end
DISPATCH = {}