aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-11-20 07:38:58 +0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-11-24 01:36:59 +0800
commita9e963d51d262a0693f0b83508c40a250421f826 (patch)
tree19ddf30203a2563679df688bd8ae509d0d197d32 /activerecord/lib
parent14055ea28285107af04ed0ce4ef0ec542a9a9530 (diff)
downloadrails-a9e963d51d262a0693f0b83508c40a250421f826.tar.gz
rails-a9e963d51d262a0693f0b83508c40a250421f826.tar.bz2
rails-a9e963d51d262a0693f0b83508c40a250421f826.zip
Remove confusing parenthesis.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index f9743b4fea..18d30d2540 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1595,7 +1595,7 @@ MSG
# Delegates to ==
def eql?(comparison_object)
- self == (comparison_object)
+ self == comparison_object
end
# Delegates to id in order to allow two records of the same type and id to work with something like: