drapergem/draper — pull request #404 by haines (2012-12-28 13:00:06+00:00)
Title: Use `self == other.source` in Decoratable#==

Apparently AR::Base does something tricky with #== which causes `super(other.source)` to break when comparing a model to a decorator that wraps a different instance of the same model. Weird.

I added an integration spec for that case.