title: Rails 3 Routing Error - "No Route Matches"
body: <p>I'm following along with the O'Reilly Rails book, but it's created for Rails 2, so I think that's where the error lies.</p>
  
  <p>In app/views/entries/sign_in.html.erb:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;title&gt;Hello &lt;%=h @name %&gt; &lt;/title&gt; &lt;/head&gt;
  &lt;body&gt;
  &lt;h1&gt; Hello &lt;%=h @name %&gt;&lt;/h1&gt;
  
  &lt;%= form_tag :action =&gt; 'sign_in' do %&gt;
     &lt;p&gt;Enter your name:
     &lt;%= text_field_tag 'visitor_name', @name %&gt; &lt;/p&gt;
     &lt;%= submit_tag 'Sign in' %&gt;
     &lt;% end %&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And in app/controllers/entries_controller.rb:</p>
  
  <pre><code>  class EntriesController &lt; ApplicationController
       def sign_in
          @name = params[:visitor_name]
       end
  
     end
  </code></pre>
  
  <p>When I click the 'Sign In' button, it takes me to a page that says:</p>
  
  <p>Routing Error</p>
  
  <p>No route matches "/entries/sign_in"</p>
  
  <p>I would post my routes.rb file, but it seems that it's all commented out except for this line: </p>
  
  <p>get "entries/sign_in"</p>
  
  <p>This file seems different than the one they're referencing in the book, so that's why I believe this to be the problem. </p>
  
  <p>Thanks for your help!</p>