aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/relations/attribute.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-12 17:57:35 -0800
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-12 17:57:35 -0800
commitcebfc0c1d830799c8b26834760fe40b44efb2d08 (patch)
tree7739a18a907065c43ac6209449a42ab756ff6df5 /lib/active_relation/relations/attribute.rb
parentd9f200f2fb14907137a27d5c9522575274bb0cde (diff)
downloadrails-cebfc0c1d830799c8b26834760fe40b44efb2d08.tar.gz
rails-cebfc0c1d830799c8b26834760fe40b44efb2d08.tar.bz2
rails-cebfc0c1d830799c8b26834760fe40b44efb2d08.zip
removed operator overloading; renamed spec files
Diffstat (limited to 'lib/active_relation/relations/attribute.rb')
-rw-r--r--lib/active_relation/relations/attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/relations/attribute.rb b/lib/active_relation/relations/attribute.rb
index 30cd9798d9..b7233a4b17 100644
--- a/lib/active_relation/relations/attribute.rb
+++ b/lib/active_relation/relations/attribute.rb
@@ -22,7 +22,7 @@ module ActiveRelation
end
def eql?(other)
- relation == other.relation and name == other.name and self.alias == other.alias
+ relation == other.relation and name == other.name and @alias == other.alias
end
module Predications