diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-18 16:47:55 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-18 16:47:55 -0700 |
commit | 7feff4e7b52fbef356426d22257af161704315ad (patch) | |
tree | db907c2bc27dc406d08513d40f8e75cd810a91f9 /lib/arel/relations/deletion.rb | |
parent | 32ad530b825f4cdac51e579306548ca695471039 (diff) | |
download | rails-7feff4e7b52fbef356426d22257af161704315ad.tar.gz rails-7feff4e7b52fbef356426d22257af161704315ad.tar.bz2 rails-7feff4e7b52fbef356426d22257af161704315ad.zip |
performance enhancements
Diffstat (limited to 'lib/arel/relations/deletion.rb')
-rw-r--r-- | lib/arel/relations/deletion.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/relations/deletion.rb b/lib/arel/relations/deletion.rb index 8c9d873a02..cd58771846 100644 --- a/lib/arel/relations/deletion.rb +++ b/lib/arel/relations/deletion.rb @@ -18,8 +18,8 @@ module Arel end def ==(other) - Deletion == other.class and - relation == other.relation + Deletion === other and + relation == other.relation end end end
\ No newline at end of file |