Displaying 1 result from an estimated 1 matches for "ninadpachp".
2009 Oct 23
4
error: nested-routes with nested-model having foreign keys
Hi,
I have this Test, User and Project models where every test belongs_to
a project and project has_many tests.
Test also belongs_to User as ''owner''.
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