jcasimir/draper — pull request #72 by momolog (2011-11-01 20:02:24+00:00)
Title: Make CanCan work with Draper Decorators

Make decorators be kind_of? their models class, so that cancan rules apply to them.
This makes CanCan seamlessly work with decorators as it would with the corresponding model instances.