title: Rails 3.0: Adding new action to a controller
body: <p>Before rails 3.0, adding a new action to a controller was easy.</p>
  
  <p>You merely add a new method <code>foobar</code> to the controller class (called mycontroller).
  Add an html file in the views folder for that controller, <code>foobar.html.erb</code></p>
  
  <p>Then, if you point the browser to <code>.../mycontroller/foobar</code> everything worked.</p>
  
  <p>However, in rails 3.0 when i added a new action as described above, i get the following error:</p>
  
  <blockquote>
    <p>No route matches "/mycontroller/foobar"</p>
  </blockquote>
  
  <p>What changed in rails 3.0? What am i doing wrong?</p>