1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix Casted#hash

There is no @class variable.
This commit is contained in:
Matthew Draper 2016-07-28 00:43:01 +09:30
parent 0d70b57978
commit f91d657c09

View file

@ -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