Displaying 1 result from an estimated 1 matches for "data_ini".
Did you mean:
data_in_
2007 Aug 10
2
Select doenst pass the correct value
Hello,
I have in my view a select tag that doesnt return the right value, could
anyone point me what am I doing wrong?
Heres whats in my view
<%=select "", "situacao", {"Open"=>0,"Closed"=>
1},:include_blank=>true%>
Then in my controller I do this
def status
if request.post?
#Do some stuff
@situacao = params[:situacao]