diff options
Diffstat (limited to 'lib/arel/relations/nil.rb')
-rw-r--r-- | lib/arel/relations/nil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/relations/nil.rb b/lib/arel/relations/nil.rb index c34fe71473..2dcfb47233 100644 --- a/lib/arel/relations/nil.rb +++ b/lib/arel/relations/nil.rb @@ -4,7 +4,7 @@ module Arel def name; '' end def ==(other) - Nil == other.class + Nil === other end end end
\ No newline at end of file |