spree/spree_related_products — pull request #16 by cea2k (2011-11-17 13:58:38+00:00)
Title: fixes an error when related product is not available

inside que select block products are filtered by deleted_at and available_on, but if available_on is nil then an exception raises. this patch fixes the condition and tests first if available on ir not nil.