Rails games homework