aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/nodes/bind_param.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/arel/nodes/bind_param.rb b/lib/arel/nodes/bind_param.rb
index 160bc21b91..3a4aedc4ba 100644
--- a/lib/arel/nodes/bind_param.rb
+++ b/lib/arel/nodes/bind_param.rb
@@ -1,6 +1,9 @@
module Arel
module Nodes
class BindParam < Node
+ def ==(other)
+ other.is_a?(BindParam)
+ end
end
end
end