spree/spree — pull request #3149 by huoxito (2013-06-03 19:30:55+00:00)
Title: Fix users rule promo association

Also add an association_foreign_key config because it assumed that every
Spree.user_class would return User which might not be always the case.

[Fixes #3145]]

I couldn't find a simple way to reproduce the issue on the spree_core build

2-0-stable needs the fix as well