From 87b685680669d13bf9ce879fa0037784150e8b62 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 6 Sep 2010 17:39:09 -0700 Subject: adding backwards compat methods --- lib/arel/nodes/equality.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/arel') diff --git a/lib/arel/nodes/equality.rb b/lib/arel/nodes/equality.rb index b8d8281434..f29344e580 100644 --- a/lib/arel/nodes/equality.rb +++ b/lib/arel/nodes/equality.rb @@ -1,6 +1,9 @@ module Arel module Nodes class Equality < Arel::Nodes::Binary + def operator; :== end + alias :operand1 :left + alias :operand2 :right end end end -- cgit v1.2.3