A simple Rails 3 recommendations engine