Fix not found on datamapper. DM expects the id to be integer and params[:id] uses a string. Casting it before.