OK, I have a routing problem, that seems to be working in the console, and with rake routes but not in the app.
I have people that have nested tasks, like so:
OK, I have a routing problem, that seems to be working in the console, and with rake routes but not in the app.
I have people that have nested tasks, like so:
The solution was simple, button_to doesn't take :url => url, it just takes the "complete_person_task_path(task) as the item.
so the button_to line becomes.
<%= button_to "Done", complete_person_task_path(task), :method => :put %>
Thanks to someone on IRC for finding this one.
Mikel