Josh Software interview question

Rails scenario based questions