todo controller
|
|
Hello, I am newbie in RoR. I am getting following error from index.html.erb. Can anybody help me out ? You have a nil object when you didn’t expect it! Extracted source (around line #14): 11: :controller => “task”, |
|
|
hey bharat could you see the development.log in the log folder and check for the error. If you see any error just zip the whole application and upload in any file hosting. We will check and let you know the problem… |
|
|
Bharat, Did you apply the errata notes from http://railsprojects.com/forums/3/topics/17 to your application. The Task model was incorrect in the book (for some reason an older version of the model got printed), which might cause orphaned data in your database if you deleted a task that was already in the current todo list. |
|
|
Hey thanks I got it solved. |