RedDoorz interview question

Relations in Rails