Hi Steve:
Try the following:
<% Category.order("id DESC).each do |category| %>
rather than Category.all ...
See Active Record Query Interface — Ruby on Rails Guides
Don Ziesig
Hi Steve:
Try the following:
<% Category.order("id DESC).each do |category| %>
rather than Category.all ...
See Active Record Query Interface — Ruby on Rails Guides
Don Ziesig