title: Passing Form Values into a controller in Rails
body: <p>say I have a text field like the following in a view called 'search':</p>
  
  <pre><code> &lt;%= text_field_tag(:lookup) %&gt;
  </code></pre>
  
  <p>how do I submit this ':lookup' value and pass it into the controller called 'search' and assign it to a variable? </p>
  
  <p>It's a basic problem, but being a noob, it's difficult ;)</p>