diff options
Diffstat (limited to 'lib/arel/nodes/casted.rb')
-rw-r--r-- | lib/arel/nodes/casted.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes/casted.rb b/lib/arel/nodes/casted.rb index 543374d695..6b15f9e4b3 100644 --- a/lib/arel/nodes/casted.rb +++ b/lib/arel/nodes/casted.rb @@ -11,7 +11,7 @@ module Arel def nil?; @val.nil?; end def hash - [@class, @val, @attribute].hash + [self.class, val, attribute].hash end def eql? other |