Rails port of CS122B Java EE