Automated generator for 'advanced search' or filter?

Hello!

I’m not sure where to look up this kind of information, but I was
looking around for a Gem that might be able to generate a view with
search options or filter options.

For example, if I have a list view with Dates and Numeric information or
Categorical information, it could generate a view where it lists filters
by category and numbers by ranges and dates by one year ago, etc.

Is there such a Gem? Or would I have to program a view by hand to
generate a find(:all, :conditions => [@searchstring])?

Thanks!