# Filtering product data in sidebar

**URL:** <https://www.ruby-forum.com/t/filtering-product-data-in-sidebar/165929>\
**Category:** Rails\
**Created:** [April 20, 2009, 2:52am UTC](https://www.ruby-forum.com/t/filtering-product-data-in-sidebar/165929 "2009-04-20T02:52:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzolkos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c37758/32.png) [@rzolkos](https://www.ruby-forum.com/u/rzolkos)\
**Post date:** [April 20, 2009, 2:52am UTC](https://www.ruby-forum.com/t/filtering-product-data-in-sidebar/165929/1 "2009-04-20T02:52:46Z")

</div>

Hi,

I’m developing a clothing store and want to be able to filter the data  
(in a sidebar) by category, brand, styles etc. I see other (mainly  
php) sites doing this by appending to the url eg  
&brand=adidas&category=shorts etc. but not sure if this is the way to  
go or if rails provides a better way.

What is an effective way of doing this in Rails? Some tips and links  
would be appreciated.

Thanks,
