diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-30 10:08:47 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-30 10:08:47 -0700 |
commit | 0e957e05acc8bd53a42d53bf94d6cd4f2441737a (patch) | |
tree | a79f97d8b5c4da7cb319f140bedd1f56a2cbc718 /lib/arel | |
parent | d22b2169f7151d076b06bfa5da85dbe5497d8ea4 (diff) | |
download | rails-0e957e05acc8bd53a42d53bf94d6cd4f2441737a.tar.gz rails-0e957e05acc8bd53a42d53bf94d6cd4f2441737a.tar.bz2 rails-0e957e05acc8bd53a42d53bf94d6cd4f2441737a.zip |
better tests for Where construction, removing Where#==
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/algebra/relations/operations/where.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/arel/algebra/relations/operations/where.rb b/lib/arel/algebra/relations/operations/where.rb index 3b70b49f3a..d851aebc44 100644 --- a/lib/arel/algebra/relations/operations/where.rb +++ b/lib/arel/algebra/relations/operations/where.rb @@ -12,13 +12,6 @@ module Arel @wheres ||= relation.wheres + predicates end - def == other - super || - Where === other && - relation == other.relation && - predicates == other.predicates - end - def engine engine = relation.engine |