spree/spree — pull request #3152 by huoxito (2013-06-04 03:49:13+00:00)
Title: Load promotion rules after app initialization

So that they can make proper use of `Spree.user_class` which is only
defined on the app spree.rb initializer

Sorry about my previous PR. It did not fix #3145. I was confused by the loading behaviour in Rails.

I believe this solution now does fix it and doesn't break any existing apps.