Topic: an error occured while doing project with tutorial. Plz help
I am new to ruby on rails. I have installed instant rails from http://rubyforge.org/projects/instantrails. I trying to learn it by doing a step by step sample given in the http://guides.rubyonrails.org/getting_started.html. I have successfully. I created two my own project also. One project is working fine. The second is not working. When I trying to browse the application it gives me an error
undefined local variable or method `new_patients_path' for #<ActionView::Base:0x9857b50>
The difference between these two project are (as per my understandings) followings.
$ script/generate scaffold Doctor name:string title:string degree: string
$ script/generate scaffold Patients name:string title:string location: string
First one is working fine. Previously I had same problem with the 1st one when I run the scaffold command with Doctors. When I changed it to Doctor it worked file. Can somebody tall me the issue behind this? I am struck with this issue.
Thanks and Regards