title: Double render error rails
body: <p>Not sure how its possible to get this error :</p>
  
  <pre><code>AbstractController::DoubleRenderError users#create
  </code></pre>
  
  <p>When in my controller I got this code :</p>
  
  <pre><code>render 'new' and return
  </code></pre>
  
  <p>I got the log from the bugsnag saying that I got the error at this line.</p>
  
  <p>This is the create method code :</p>
  
  <pre><code>def create
      back_button and return if params[:back_button]
  
      @profile = current_user.build_profile(params[:user])
  
      if @profile.nil? || current_user.nil? || @profile.user.nil?
        sign_out
        redirect_to signup_path and return
      end
  
      if @profile.new_record?
        render 'new' and return
      else
        redirect_to more_questions_path and return
      end
  end
  </code></pre>
  
  <p>I have before filter in this controller :</p>
  
  <pre><code>before_filter :signed_in_user
  
  def signed_in_user
        unless signed_in?
          store_location
          redirect_to signin_url, notice: "Please sign in."
        end
      end
  </code></pre>