ruby search drop down

Posted by cesia on Stack Overflow See other posts from Stack Overflow or by cesia
Published on 2010-05-11T16:15:12Z Indexed on 2010/05/11 16:54 UTC
Read the original article Hit count: 272

I have a drop down list of Type in my Products model. I want to be able to search in the Products index.html.erb so a user selects a type from a drop down list, clicks search and all the products matching that type are returned. I can get normal search methods working where the user enters in their search in a text box but I cannot get it working when they just select from a dropdown. Can anyone help?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about search