title: Renaming controllers in Rails and cleaning out generated content
body: <p>I was following along with the railscast regarding the restful_authentication plugin.</p>
  
  <p>He recommended running the command:</p>
  
  <p>script/generate authenticated user session</p>
  
  <p>Which I did, and everything generated "fine", but then sessions wouldn't work. Checking the site again, he mentions a naming standard and listed updated code which stated:</p>
  
  <p>script/generate authenticated user sessions</p>
  
  <p>With sessions being pluralized.</p>
  
  <p>So now I have session_controller.rb with a SessionController in it, but I guess by naming standards, it is looking for SessionsController, causing the code to fail out with the error "NameError in SessionsController#create "</p>
  
  <p>I see the problem, which is pretty obvious, but what I don't know is, how do I fix this without regenerating the content? Is there a way to reverse the generation process to clear out all changes made by the generation?</p>
  
  <p>I tried just renaming the files to sessions_controller with e SessionsController class, but that failed.</p>
  
  <p>While writing this, I solved my own problem. I had to rename session to sessions in the routes file as a map.resource and rename the view directory from session to sessions, and update session_path in the html.erb file to sessions_path.</p>
  
  <p>So I solved my problem, but my answer regarding removing generated content still remains. Is it possible to ungenerate content?</p>