I have the following code which retrieves the count of the following query:
<% @count = Model.find(:all, :conditions =>
{:action => actions, :controller => tempController}).count %>
I’m just wondering how I get this query to order by the count retrieved going from highest to lowest.
Calling Model from views is just against the MVC. This is the wrong way