wrote a model-agnostic 'rate' view.