aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/relations/table.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-18 16:47:55 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-18 16:47:55 -0700
commit7feff4e7b52fbef356426d22257af161704315ad (patch)
treedb907c2bc27dc406d08513d40f8e75cd810a91f9 /lib/arel/relations/table.rb
parent32ad530b825f4cdac51e579306548ca695471039 (diff)
downloadrails-7feff4e7b52fbef356426d22257af161704315ad.tar.gz
rails-7feff4e7b52fbef356426d22257af161704315ad.tar.bz2
rails-7feff4e7b52fbef356426d22257af161704315ad.zip
performance enhancements
Diffstat (limited to 'lib/arel/relations/table.rb')
-rw-r--r--lib/arel/relations/table.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/relations/table.rb b/lib/arel/relations/table.rb
index 06625dd52a..087028fb55 100644
--- a/lib/arel/relations/table.rb
+++ b/lib/arel/relations/table.rb
@@ -29,8 +29,8 @@ module Arel
end
def ==(other)
- Table == other.class and
- name == other.name
+ Table === other and
+ name == other.name
end
end
end \ No newline at end of file