Forum Moderators: open
I'm using ROR....
--------------------------
@products_pages, @products = paginate :product, :conditions => [ "category_id LIKE? AND brand LIKE? AND gender LIKE?", category_id, brand, gender ], :per_page => 16
--------------------------
changing the '=' to 'LIKE' in the :conditions solved the problem
Searching for anything (Wildcard) would be something like this:
select * from someTable where category_id LIKE '%'
NOT
select * from someTable where category_id = '%'
hope this helps someone else out at somepoint.