I created a scaffold and generated index, new, show, update, destory
actions and its related views. When I open the index view, I will got
You have a nil object when you didn’t expect it!
The error occurred while evaluating nil.to_sym
Extracted source (around line #15):
there is no problem for other controllers in this rails server. It seems
that rails failed to request routing. Does anyone have this experience?