title: Undefined method 'resources' for main:Object (NoMethodError) in config\routes.rb
body: <blockquote>
    <p>Undefined method 'resources' for main:Object (NoMethodError) in
    config\routes.rb</p>
  </blockquote>
  
  <pre><code>resources :articles do
    resources :comments
  end
  </code></pre>