My application is almost ready, now what we do is erase any record.

For example in my types I do (To delete is important to use POST instead of GET):

on "delete", post do
  type.delete

  res.redirect("/types")
end

In my index page:

On the route the id must be present.

.

So, I do the same with the Outputs and Inputs.

Delete Outputs

Delete Inputs

:)