Housecall Pro interview question

simple ruby on rails project coding design question