diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-06 17:39:09 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-06 17:39:09 -0700 |
commit | 87b685680669d13bf9ce879fa0037784150e8b62 (patch) | |
tree | 2addf3417458a7e9e2f24fb4d2b4ca70a0e38672 /lib/arel/nodes | |
parent | 458f9c43603df319625f1db0939635af13a85d43 (diff) | |
download | rails-87b685680669d13bf9ce879fa0037784150e8b62.tar.gz rails-87b685680669d13bf9ce879fa0037784150e8b62.tar.bz2 rails-87b685680669d13bf9ce879fa0037784150e8b62.zip |
adding backwards compat methods
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/equality.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |