Add rating functionality to your Rail app.