title: redirect_to != return
body: <p>I'm looking for some clarification regarding the behaviour of <code>redirect_to</code>.</p>
  
  <p>I have this code:</p>
  
  <pre><code>if some_condition
     redirect_to(path_one)
  end
  
  redirect_to(path_two)
  </code></pre>
  
  <p>If <code>some_condition == true</code> I get this error:</p>
  
  <blockquote>
    <p>Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. </p>
  </blockquote>
  
  <p>It seems that the method continues to execute after the <code>redirect_to</code> call.  Do I need to write code like this:</p>
  
  <pre><code>if some_condition
     redirect_to(path_one)
     return
  end
  
  redirect_to(path_two)
  </code></pre>