search for: complete_person_task_path

Displaying 2 results from an estimated 2 matches for "complete_person_task_path".

2007 Dec 28
1
Rake routes & console showing one thing, app doing another
...--------- complete_person_task PUT /people/:person_id/tasks/:id/complete {:controller => "tasks", :action => "complete"} ------------------------------- But then in my people/show view I have: ------------------------------- <%= button_to "Done", :url => complete_person_task_path(task), :method => :put -%> ------------------------------- Which generates this URL: ------------------------------- http://127.0.0.1:3000/people/9?method=put&url=%2Fpeople%2F9%2Ftasks%2F95%2Fcomplete ------------------------------- Which gives the following error: -------------------...
2007 Dec 28
1
Getting wrong route - fairly complete error description
...-------- complete_person_task PUT /people/:person_id/tasks/:id/complete {:controller => "tasks", :action => "complete"} ------------------------------- But then in my people/show view I have: ------------------------------- <%= button_to "Done", :url => complete_person_task_path(task), :method => :put -%> ------------------------------- Which generates this URL: ------------------------------- http://127.0.0.1:3000/people/9?method=put&url=%2Fpeople%2F9%2Ftasks%2F95%2Fcomplete ------------------------------- Which gives the following error: -------------------...