title: Ruby on Rails - Difference between redirect_to 'index' and redirect_to objects_path & redirect_to action: 'index'
body: <p>I have a simple model and controller. Let's use Kiwis as an example:</p>
  
  <pre><code>def index
      @kiwis = Kiwi.all
  end
  
  def destroy
      kiwi = Kiwi.find(params[:id])
      kiwi.destroy
      redirect_to 'index'
  end
  </code></pre>
  
  <p>I use a delete link on the index page. When I use redirect_to 'index' the page does not refresh the model. I have to do a hard refresh on the page in order for the Kiwi to get removed. However, if I use either redirect_to action: 'index' or redirect_to kiwis_path the page will update after the destroy action. I can't seem to find an explanation on this. Can anyone shed some light on the issue.</p>