drnic/composite_primary_keys — pull request #89 by brettfishman (2012-03-09 18:12:29+00:00)
Title: Enhanced equality check for CompositeKeys

We ran into some RSpec failures using FactoryGirl factories and the composite_primary_keys gem. Our model has a composite primary key of id and occurred_at, a DateTime. When we asserted in our specs that a collection of these objects was equal to another collection, we found that date comparisons were causing the spec to fail. To fix this, we added custom equality methods to your CompositeKeys class.

These changes were authored by myself and Jim Jones (aantix). Thanks!