Another exercise in Rails. First one in 4.0.