Fix person number editing. Refactor to use Rails conventions.