spree/spree_product_groups — pull request #35 by pfac (2014-04-08 17:42:19+00:00)
Title: ActiveRecord::Relation#count returns Hash

When trying to use this extension I uncovered an error `undefined method `>' for {}:ActiveSupport::OrderedHash`, with `product_group.rb:151:in `include?'` at the top of the stack.

Changing the line 149 to use `ActiveRecord::Relation#any?` solved it.

This PR did break any specs when tested locally.