Check Box and database


#1

hi all,

   I am new ruby rails bie. In my work, i need to implement a

search, related to the categories.I have to use two radio buttons for
two conditions. ie selling or buying. Based on that i need to proceed
for an item selection in the categories. After doing so, When i click ok
i need to proceed for the page where i get the results according to my
selection in the list and radio button(0,1 or 1,0)

   Actually i am able to get the categories in a drop down list and

when i select one item and proceed for search, i have to get that taking
the selected categoryid from the list and display results accordingly.

   Could some one plzzz analyze the view and help me accordingly.

Answers are appreciable