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:
parent
0d70b57978
commit
f91d657c09
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue