title: error in ruby on rails app for email contact form
body: <p>I followed this <a href="http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/" rel="nofollow">email form</a> tutorial for my ruby on rails app which is hosted at heroku. Every time I pull up localhost:3000/contact I get the following error:</p>
  
  <p>No route matches {:action=>"home", :controller=>"contact"}</p>
  
  <p>Here is what is in my routes.rb file:</p>
  
  <pre><code>Inspired::Application.routes.draw do
    get "pages/home"
    get "pages/about_us"
    get "pages/web_design"
    get "pages/portfolio"
    get "pages/contact"
  
    match 'contact' =&gt; 'contact#new',    :as =&gt; 'contact', :via =&gt; :get
    match 'contact' =&gt; 'contact#create', :as =&gt; 'contact', :via =&gt; :post
  
    root :to =&gt; 'pages#home'
  end
  </code></pre>
  
  <p>I'm unsure of where I'm going wrong. Why is the action going to home when it is supposed to go to new or create? Thanks!</p>