spree/spree — pull request #1873 by buddhi-desilva (2012-08-22 17:42:11+00:00)
Title: Support spree_roles method that's been modified outside of spree

If the ```spree_roles``` method gets modified outside of spree and if it's not an activerecord object, the ```where``` method doesn't work.

i.e: http://git.io/NSuJNA

Since the auth is decoupled, will a generic method be more meaningful? Or this has to be shipped along with 3rd party ```spree_roles``` code?