title: Why is there a wrong number of arguments error when using redirect_to in Rails 4.2?
body: <p>In the Rails 4.1.1 version of an app, I have the following create method in articles_controller:</p>
  
  <pre><code>def create
    @article = Article.new(article_params)
    authorize @article
    if @article.save
      flash[:notice] = "Successfully created article."
      redirect_to edit_article_path(@article)
    else
      render :new
    end
  end
  </code></pre>
  
  <p>However, after updating to Rails 4.2 the following error occurs when the redirect is attempted:</p>
  
  <p><code>wrong number of arguments (2 for 1)</code></p>
  
  <p>Why does this error occur and how can it be resolved?</p>