CheckBox with Value and Drop down menu

I am a newbie in Ruby. I would to ask from all the experts in Ruby on
how to create a checkbox with value as well as a dropdown menu. I want
it like this site Their search
form is good and I want to learn every aspect in doing it. Hope you can
give me a step-by-step tutorial in doing it.

Thanks in advance.