title: Devise users - show only the false boolean
body: <p>I would like to show in my index the users that are waiting to be approved (false = unnaproved). I followed the steps in this link(controllers and views): </p>
  
  <p><a href="https://github.com/plataformatec/devise/wiki/How-To%3a-Require-admin-to-activate-account-before-sign_in" rel="nofollow">https://github.com/plataformatec/devise/wiki/How-To%3a-Require-admin-to-activate-account-before-sign_in</a></p>
  
  <p>I have tried many ways, but nothing seems to work. My code is:</p>
  
  <p><strong>controller:</strong></p>
  
  <pre><code>def index
  if params[:approved] == "false"
      @users = User.find_by_approved(false)
  else
     @users = User.all
  end
  </code></pre>
  
  <p>end</p>
  
  <p><strong>View index</strong></p>
  
  <pre><code>&lt;% @users.each do |users| %&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;%= users.name%&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;%= users.email %&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;%= users.approved %&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;%= link_to "Aprobar", desaprobado_path(users) %&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;%end%&gt;
  </code></pre>
  
  <p>The index show me all the users (false and true), not only the false ones.
  Any idea? thanks! greetings from Chile and excuse my english.</p>