I'm trying to learn rails by developing a small little graphing application, but I'm having some trouble sorting out dropdown menus. I have a homepage controller and an associated view index.html. My index action is this:
This creates the dropdown menu with options/values populated from my database. What I want to do is get the user's selection from the drop down menus with a submit button. It would then pass the values along to another controller action, which would pass them along to the graphing utility I have setup. Currently I've no idea how to do this and the last few days of trying to google it hasn't gotten me anywhere. The big hitch at the moment is trying to get the submit button working. I think if I can get that, I can figure the rest out on my own.
Any help would be greatly appreciated.