Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove confusing parenthesis.

  • Loading branch information...
commit a9e963d51d262a0693f0b83508c40a250421f826 1 parent 14055ea
@miloops miloops authored tenderlove committed
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:
Please sign in to comment.
Something went wrong with that request. Please try again.