Very old code from my first rails app.