aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/sql/predicates.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/engines/sql/predicates.rb')
-rw-r--r--lib/arel/engines/sql/predicates.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/engines/sql/predicates.rb b/lib/arel/engines/sql/predicates.rb
index 21d8f840c9..74a36d77c9 100644
--- a/lib/arel/engines/sql/predicates.rb
+++ b/lib/arel/engines/sql/predicates.rb
@@ -1,6 +1,6 @@
module Arel
module Predicates
- class Binary < Predicate
+ class Binary < Unary
def to_sql(formatter = nil)
"#{operand1.to_sql} #{predicate_sql} #{operand1.format(operand2)}"
end