tchandy/octopus — pull request #130 by ragalie (2012-11-13 01:41:46+00:00)
Title: Properly check equality between sharded AR objects

Modifies ActiveRecord::Base#== to check that #current_shard is equal (in addition to current #== functionality). Delegates ScopeProxy#== to @klass.