aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/function.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/function.rb')
-rw-r--r--lib/arel/nodes/function.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/nodes/function.rb b/lib/arel/nodes/function.rb
index 28a394e9f3..b2b89ee9ff 100644
--- a/lib/arel/nodes/function.rb
+++ b/lib/arel/nodes/function.rb
@@ -29,6 +29,8 @@ module Arel
self.alias == other.alias &&
self.distinct == other.distinct
end
+ alias :== :eql?
+
end
%w{