title: Rails: "Couldn't find Movie with 'id'=" (ActiveRecord::RecordNotFound)
body: <p>I'm following a tutorial for a very basic application so this should be an easy fix but I can't figure it out. It's saying it can't find Movie with 'id=all'</p>
  
  <p>The tutorial is a little outdated, I've already had to make a few changes such as the params.require but that's it. </p>
  
  <p>movie_controller.rb</p>
  
  <pre><code>class MoviesController &lt; ApplicationController
    def new
      @movie = Movie.new
      @movies = Movie.find(:all)
    end
  
    def create
      @movie = Movie.new(params[:movie_id])
      if @movie.save
        redirect_to new_movie_path
      end
    end
  
    def comment_params
      params.require(:movie).permit(:title, :year)
    end
  
  end
  </code></pre>
  
  <p>rentals_controller.rb</p>
  
  <pre><code>class RentalsController &lt; ApplicationController
    def new
      @movie = Movie.find(params[:id])
      @rental = @movie.rentals.build
  end
  </code></pre>
  
  <p>new.html.erb (for movies)</p>
  
  <pre><code>    Enter new movie information &lt;br&gt;
  
  
  &lt;%= form_for @movie do |f| %&gt;
    Title: &lt;%= f.text_field :title %&gt; &lt;br&gt;
    Year: &lt;%= f.text_field :year %&gt; &lt;br&gt;
    &lt;%= f.submit %&gt;
  &lt;% end %&gt;
  
  &lt;hr&gt;
  
  List of all movies: &lt;br&gt;
  &lt;% if !@movies.blank? %&gt;
    &lt;table border=1&gt;
      &lt;tr&gt;
        &lt;th&gt; Title &lt;/th&gt;
        &lt;th&gt; Year &lt;/th&gt;
      &lt;/tr&gt;
    &lt;% for item in @movies %&gt;
      &lt;tr&gt;
        &lt;td&gt; &lt;%= link_to item.title, :controller =&gt; :rentals, :action =&gt; :new, :id =&gt; item.id %&gt; &lt;/td&gt; 
        &lt;td&gt; &lt;%= item.year %&gt; &lt;/td&gt;
      &lt;/tr&gt;
    &lt;% end %&gt;
    &lt;/table
  
  &lt;% end %&gt;
  </code></pre>
  
  <p>new.html.erb (for rentals)</p>
  
  <pre><code>Movie: &lt;%= @movie.title %&gt; &lt;%= link_to "back", new_movie_path %&gt;
  &lt;hr&gt;
  
  &lt;%= form_for @rental do |f| %&gt;
    Borrowed on: &lt;%= f.text_field :borrowed_on %&gt; &lt;br&gt;
    Returned on: &lt;%= f.text_field :returned_on %&gt; &lt;br&gt;
    &lt;%= f.submit %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>And my routes is simply <code>resources :movies</code> in case that matters. </p>