title: Wrong number of arguments?
body: <p>I'm following Michael Hartl's tutorial <a href="http://ruby.railstutorial.org/chapters/updating-showing-and-deleting-users#sec:user_index" rel="noreferrer">here</a> and am trying to create an index of users. </p>
  
  <p>My code:</p>
  
  <pre><code>  class UsersController &lt; ApplicationController
    before_filter :signed_in_user, only: [:index, :edit, :update]
    .
    .
    .
    def index
      @users = User.all
    end
    .
    .
    .
    end
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;%= provide(:title, 'All users') %&gt;
  &lt;h1&gt;All users&lt;/h1&gt;
  
  &lt;ul class="users"&gt;
    &lt;% @users.each do |user| %&gt;
      &lt;li&gt;
        &lt;%= gravatar_for user, size: 52 %&gt;
        &lt;%= link_to user.name, user %&gt;
      &lt;/li&gt;
    &lt;% end %&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I've made sure my code matches the code in the tutorial exactly, but I'm getting this error: </p>
  
  <pre><code>wrong number of arguments (2 for 1)
  </code></pre>
  
  <p>What am I doing wrong? Any thoughts?</p>