Fix bug: It couldn't remove the activty by id. It's showing an error. Now I find in assginment throught by params[:id]