Beryl Systems interview question

RESTful API, some active record queries, some design based