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 the error:
You have a nil object when you didn't expect it! The error occurred while evaluating nil.to_sym Extracted source (around line #15): 12: <td><%=h db.project_name %></td> 13: <td><%=h db.db_project %></td> 14: <td><%=h db.db_product %></td> 15: <td><%= link_to 'Show', db %></td> there is no problem for other controllers in this rails server. It seems that rails failed to request routing. Does anyone have this experience? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

