mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
This fixes: ``` DEPRECATION WARNING: Passing an argument to force an association to reload is now deprecated and will be removed in Rails 5.1. Please call `reload` on the result collection proxy instead. (called from can_own_more_enterprises? at /usr/src/app/app/models/spree/user.rb:112) ``` This method in particular gets called a lot of times so it'll have it's cost in performance.