im confused. all i want is data from a form to be accessible in my
controller after the user presses a buton…
in my layout view :
<%= text_field(‘something1’, ‘something2’, :size => 25)%>
<%= submit_tag “Search”%>
now in my controller how do i access the field in the text box?
from my reading, the first parameter is the object, second is the
method, third are the options. how do i make it so i dont need a method,
i just want the string in the text box?