title: How to do a submit on a contact us form, rails 4
body: <p>I am a newbie in ror, working on a simple static page showing a portfolio of images. Its one long static page, at the end of the page I am trying to add a contact US form, I found some code like this </p>
  
  <pre><code> &lt;div id="contact"&gt; &lt;span class="largetext section"&gt;CONTACT&lt;/span&gt; &lt;/div&gt;
    &lt;div class="horizantal_rule"&gt;&lt;/div&gt;
    &lt;div class="container"&gt;
      &lt;form action="http://Somesite/form.php" method="post"&gt;  // This is the area I need to replicate in rails 4
        &lt;div class="cf_left"&gt;
          &lt;label for="cf_email"&gt;Email Address&lt;/label&gt;
          &lt;input class="login-form1" type="text" name="cf_email" id="cf_email"&gt;
          &lt;label for="cf_name"&gt;Name&lt;/label&gt;
          &lt;input class="login-form1" type="text" name="cf_name" id="cf_name"&gt;
          &lt;label for="cf_industry"&gt;Industry&lt;/label&gt;
          &lt;input class="login-form1" type="text" name="cf_industry" id="cf_industry"&gt;
        &lt;/div&gt;
        &lt;div class="cf_center"&gt;
          &lt;label for="cf_message"&gt;Your Message&lt;/label&gt;
          &lt;textarea class="login-form1" type="text" name="cf_message" id="cf_message"&gt;&lt;/textarea&gt;
          &lt;input class="login-form1" type="submit" value=""&gt;
        &lt;/div&gt;
        &lt;div class="cf_right"&gt;
          &lt;p&gt;Contact Us Directly&lt;/p&gt;
          &lt;a href="mailto:info@somesite.com" class="apptext"&gt;info@somesite.com&lt;/a&gt;
        &lt;/div&gt;
      &lt;/form&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Now in the HTML code the form action is using a php form, I am assuming I am replacing this with rails functionality, Can someone give me a good simple solution just to perform a mailto to task or just forward the data entered to a specific email?</p>
  
  <p>Thanks.</p>