Fix rails sample app.