Coursework for rails course