I am creating a rails app wherein I have a problems model. How do i create a form that asks the user to choose the range of values that he wants to see. i.e the form asks him to choose say the cause of the problem and between what dates such problems could have occurred and then output those results from database?
Thanks in advance.