title: Finding a Good Ruby on Rails Tutorial
body: <p>I am trying to link the index page from my movies model to the index page of my random generator model. I am using Ruby version 1.9.2  This is what the top few lines of the movie index view looks like:</p>
  
  <p>This is the top two lines of my index view</p>
  
  <pre><code>%h1 Topical Memory System
  
  = link_to "View Random Generators", randomgenerator_path 
  </code></pre>
  
  <p>and this is what my routes file looks like:</p>
  
  <pre><code>Rottenpotatoes::Application.routes.draw do
    resources :movies
    resources :randomgenerators
    # map '/' to be a redirect to '/movies'
    root :to =&gt; redirect('/movies')
  end
  </code></pre>
  
  <p>When I try to run the app on WEBrick, it throws an exception at those top lines and says the the route for <code>{:action =&gt; "show", 
  :controller =&gt; "randomgenerators" }</code> does not exist when rake routes says it does. What am I doing wrong? </p>