Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide anonymous user instead of nil
As explained in https://github.com/openfoodfoundation/spree_auth_devise/blob/0181835fb6ac77a05191d26f6f32a0f4a548d851/app/models/spree/user.rb#L26-L32, all orders have a user so checking out as a guest is just using an automatically generated user by means of `.anonymous!`.
- Loading branch information