freerunningtech/spree-loyalty-points — pull request #11 by KyleMacey (2014-12-08 15:27:46+00:00)
Title: Accomodate Guest Orders

I could be totally off-base on this, but I've run into issues with issuing loyalty points to guest orders. From what I could tell, there weren't any other safeguards against this code running on guest orders.

Simple presence check for the base object's `user`.