aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/compatibility/wheres.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/compatibility/wheres.rb')
-rw-r--r--lib/arel/compatibility/wheres.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/compatibility/wheres.rb b/lib/arel/compatibility/wheres.rb
index eeb7a2fa38..b73b178651 100644
--- a/lib/arel/compatibility/wheres.rb
+++ b/lib/arel/compatibility/wheres.rb
@@ -8,6 +8,10 @@ module Arel
def value
visitor.accept self
end
+
+ def name
+ super.to_sym
+ end
end
def initialize engine, collection