title: Missing :controller key on routes definition, please check your routes
body: <p>I just started learning Ruby on Rails and got stamped on Chapter 7 of Beginning Rails 4 Third Edition Page 151.</p>
  
  <p>I generated controller as follows; 
  $rails generate controller ControllerName [actions] [options].
  This one worked OK but when I tried to generate a controller for the Users</p>
  
  <p>$rails generate controller Users.
  I got the following error message. /routing/mapper.rb:328:in check_part : Missing :controller key on routes definition, please check your routes. (ArgumentError).</p>
  
  <p>This is what my routes look like </p>
  
  <pre><code>Rails.application.routes.draw do                                    
  get 'controller_name/[actions]'
  get 'controller_name/[options]
  root :to =&gt; "articles#index"
  resources :articles
  root :to =&gt; 'users#show'
  </code></pre>
  
  <p>end**</p>
  
  <p>I added the last route (root :to => 'users#show')</p>
  
  <p>Stackoverflow community is great. I have been getting a lot of help from the archives.</p>
  
  <p>Thanks</p>