I've got some purely UI related computation like determining the html/css class in the following example:
<% class = score < 60 ? "red" : "green" %>
If this is done in the erb templates rather than the controller, which is preferred when creating the variable, class or @class?