Changed from using form_for to fields_for, which doesn't require all sorts of routes and a controller.