Hi I have this model
Model item
class Inventory::Item < ActiveRecord::Base has_many :types, :class_name => \"ItemType\" attr_accessible :na
For making ASC (Default sorting mode) for name kind of fields (Alphabets),
You can use ORDER BY Clause in MySQL
Hence, In Rails you can simply use
Model.order(:field_name)