I want to show a series of links belonging to a specific category.
The links will be shown grouped by category, but how can I alter the
order of the categories?
I have a field in my database called position with the order in which
class Category < ActiveRecord::Base
validates_uniqueness_of :category, :message => “already exists”
class Link < ActiveRecord::Base
find(:all, :order => :category_id)
Any help would be great!