Spree::HomeController.class_eval do

  def index
    slider = Spree::Taxon.where(:name => 'Slider').first
    @slider_products = slider.products.active.uniq if slider

    featured = Spree::Taxon.where(:name => 'Featured').first
    @featured_products = featured.products.active.uniq if featured

    latest = Spree::Taxon.where(:name => 'Latest').first
    @latest_products = latest.products.active.uniq if latest
  end

end

Spree::HomeController.class_eval do

  def index
    slider = Spree::Taxon.where(:name => 'Slider').first
    @slider_products = slider.products.active.to_a.uniq if slider

    featured = Spree::Taxon.where(:name => 'Featured').first
    @featured_products = featured.products.active.to_a.uniq if featured

    latest = Spree::Taxon.where(:name => 'Latest').first
    @latest_products = latest.products.active.to_a.uniq if latest
  end

end

Fix sliders when using postgres
Fix sliders when using postgres
