spree/spree — pull request #3427 by rubenrails (2013-07-23 19:24:34+00:00)
Title: Add #total_on_hand method to Variant model

We already have that for Product, but there's no way of getting the total_on_hand for a given variant. This commit fixes that.