Skip to content

Instantly share code, notes, and snippets.

@carllerche
Created July 27, 2008 20:27
Show Gist options
  • Save carllerche/2803 to your computer and use it in GitHub Desktop.
Save carllerche/2803 to your computer and use it in GitHub Desktop.
# current behavior
zoo1 = Zoo.new(:city => "SF")
zoo2 = Zoo.new(:city => "SF")
zoo1.eql?(zoo2) # => true
zoo1.save
zoo2.save
zoo1.eql?(zoo2) # => false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment