From 60b8a98c15186429a9bf216dbbae0f3b71b666bd Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 28 Jul 2010 15:27:18 -0700 Subject: implementing hash is a non-requirement --- lib/arel/engines/sql/relations/table.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib') diff --git a/lib/arel/engines/sql/relations/table.rb b/lib/arel/engines/sql/relations/table.rb index d9ff95265b..28c56a6bb0 100644 --- a/lib/arel/engines/sql/relations/table.rb +++ b/lib/arel/engines/sql/relations/table.rb @@ -73,14 +73,6 @@ module Arel end end - def eql?(other) - self == other - end - - def hash - @hash ||= :name.hash - end - def column_for(attribute) has_attribute?(attribute) and columns.detect { |c| c.name == attribute.name.to_s } end -- cgit v1.2.3