search for: ninad

Displaying 1 result from an estimated 1 matches for "ninad".

Did you mean: nina
2009 Oct 23
4
error: nested-routes with nested-model having foreign keys
...wner''. Then i followed railcast#139 to create nested route as - map.resources :projects, :has_many => :tests But somehow i get this error when url is ''http://127.0.0.1:3000/ projects/1/tests'' in tests/index.html.erb. Please help. How line 24 works and not 25 :? - Ninad **** ERROR **** NoMethodError in Tests#index Showing app/views/tests/index.html.erb where line #25 raised: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.username **** tests_controller.rb *** @project = Project.find(params[:project_id])...