spree/spree — pull request #5309 by davidlibrera (2014-09-02 21:08:24+00:00)
Title: available scope now care about 'currency' params

I noticed that if a product has 2 prices with different currencies, the Spree::Product.available scope returns the product more than one time.
Spree::Product.available ignores the currency param. I added the .where conditions on Spree::Price table