spree/spree-product-assembly — pull request #21 by ehoch (2012-12-16 20:51:48+00:00)
Title: Check Spree::Config[:track_inventory_levels] first

By checking Spree::Config[:track_inventory_levels] first in has_stock? and on_hand, it saves my site 12+ database queries since I don't track...