title: add new_foo_path manually in rails
body: <p>In Rails, when you create a model using scaffold like the following:</p>
  
  <p>rails generate scaffold User name:string email:string</p>
  
  <p>It will generate the: models, controllers, and views</p>
  
  <p>The views for example, in the index.html.erb file there is table which lists all the Users registers. For each user there are links: Show, Edit, Destroy</p>
  
  <p>in the index.html.erb these are represented by the following lines:</p>
  
  <pre><code> &lt;td&gt;&lt;%= link_to 'Show', student %&gt;&lt;/td&gt;
   &lt;td&gt;&lt;%= link_to 'Edit', edit_student_path(student) %&gt;&lt;/td&gt;
   &lt;td&gt;&lt;%= link_to 'Destroy', student, :confirm =&gt; 'Are you sure?', :method =&gt; :delete %&gt;&lt;/td&gt;
  </code></pre>
  
  <p>and there also is a New User link which is represented by:</p>
  
  <pre><code>&lt;%= link_to 'New Student', new_student_path %&gt;
  </code></pre>
  
  <p>However, if I create a model,view and controller manually without the scaffold, then these 'paths' won't be generated.
  By 'paths' I mean:   new_student_path,   edit_student_path(student), student</p>
  
  <p>How do I generate these manually?</p>