Skip to content
Browse files

Remove confusing parenthesis.

  • Loading branch information...
1 parent 14055ea commit a9e963d51d262a0693f0b83508c40a250421f826 @miloops miloops committed with tenderlove Nov 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/base.rb
View
2 activerecord/lib/active_record/base.rb
@@ -1595,7 +1595,7 @@ def ==(comparison_object)
# 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:

0 comments on commit a9e963d

Please sign in to comment.
Something went wrong with that request. Please try again.