Matmon/spree-featured-taxons — pull request #4 by gfmurphy (2011-11-30 23:10:49+00:00)
Title: Randomization and featured scope customization

These commits add the following three features

1. Adds **FeaturedScope** that allows for featured taxon size limitation and random sampling
- E.G. featured_taxons.limit(25).sample(10) # limit taxon set to 25 and give me 10 random members
2. Adds **featured_taxon_scope** method to Spree::BaseController that allows additional scoping per controller
- E.G. featured_taxon_scope { |s| s.order("updated_at >= ?", 1.week.ago) } # give me taxons updated over the last week
3. Adds **featured_taxons** helper method that provides the featured taxons collection to the views in the system