Hi I have this model
Model item
class Inventory::Item < ActiveRecord::Base has_many :types, :class_name => \"ItemType\" attr_accessible :na
To retrieve records from the database in a specific order, you can use the order method:
Item.order(:name)
by default this sorts ascending.