Hey guys -
I'm trying to use a drop-down menu to allow a user select a value for submission along with some text-input fields. I have a submit_tag handling the submission.
I can't figure out what's wrong with this syntax:
Code:
<td width = 275px, align = "center">
<select name= "status" >
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3">Option 3</option>
</select>
</td>
I have "validates_presence_of :status" in my project model, which seems to be doing its job because the page just refreshes when I submit. Without the validation, it claims status is nil. :(
Thanks for your time!

