# Dabs like product filtering

**URL:** <https://www.ruby-forum.com/t/dabs-like-product-filtering/167415>\
**Category:** Rails\
**Created:** [May 7, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/dabs-like-product-filtering/167415 "2009-05-07T17:22:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnybutler7](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Post date:** [May 7, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/dabs-like-product-filtering/167415/1 "2009-05-07T17:22:57Z")

</div>

Hi,

Im trying to create a search\filtering similar to dabs, see link below.  
So the “Refine Your Search” menu breaks down the different  
categories\sub categories for a product with a count of how many are  
available and you can drill down…

Is there a plugin in rails that makes this easy(ive looked about but  
nothing seemed to meet this requirment)

or

is there any advice on how best to do this.

Options maybe to do it dynamically so when a customer searches then get  
the relevant sub categories and do the counts seperately(this seems  
intensive and will kill performance as the dataset gets bigger)

Another option may be to do it evytime a new product is added to update  
a table with counts etc, again this seems a bit overkill as it will need  
to be done everytime a product is added/edited etc

> **[Page not found](https://store.ee.co.uk/category/components-and-storage,storage,accessories/11161?utm_source=dabs%2Bmigration&utm_medium=redirect&utm_campaign=auto)**
>
> Discover the latest products from the biggest names in tech at EE Store. Find deals and offers on gaming, laptops, TVs, home phones, smart home systems and more

Any advice appreciated,

JB
