title: What does article_path mean?
body: <p>I am quite new to programming and am working my way through the official <a href="http://guides.rubyonrails.org/getting_started.html" rel="nofollow">Getting Started guide</a>. This guides new RoR programmers through a practical Blog application involving CRUD articles that have many comments.</p>
  
  <p>article_path is something that comes up quite often but I have no idea at all at what this does, what it means, how it is used etc.</p>
  
  <p>Here are some examples of how the guide uses article_path:</p>
  
  <pre><code>&lt;%= form_for :article, url: articles_path do |f| %&gt;
  </code></pre>
  
  <p>(in app/views/articles/new.html.erb)</p>
  
  <pre><code>&lt;%= link_to 'Back', articles_path %&gt;
  </code></pre>
  
  <p>(also in app/views/articles/new.html.erb)</p>
  
  <pre><code>def destroy
   @article = Article.find(params[:id])
   @article.destroy
  
   redirect_to articles_path
  end
  </code></pre>
  
  <p>(in app/controllers/articles_controller.rb)</p>
  
  <pre><code>class CommentsController &lt; ApplicationController
   def create
    @article = Article.find(params[:article_id])
    @comment = @article.comments.create(comment_params)
    redirect_to article_path(@article)
   end
  </code></pre>
  
  <p>(in app/controllers/comments_controller.rb)</p>
  
  <p>I would be very grateful for an explanation, as I like to fully understand what a specific line of code does.</p>
  
  <p>Thank you for your time </p>