title: Get data from html form to ruby in Ruby on Rails
body: <p>Get data from html form to ruby in Ruby on Rails</p>
  
  <p>I have some html like this</p>
  
  <pre><code>&lt;html&gt;
  &lt;h1&gt;Text to PDF&lt;/h1&gt;
  &lt;textarea name="comments" cols="40" rows="5"&gt;
  Enter your Text here...
  &lt;/textarea&gt;&lt;br&gt;
  &lt;input type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I want to give the value of the text into the controller for this page/view.
  How do I do this with rails?</p>
  
  <p>I am new to rails, what is the mechanism for this? I don't need to write to the database just want to hand it to the controller. If there is a good tutorial for this sort of thing that would be great, I am not convince I am approaching this correctly.</p>