From: Tyron Tyron Date: 2009-11-01T15:54:47+09:00 Subject: Re: Rails: option_groups_from_collection_for_select sort order > How do I sort the states lists within each country? Try class State < ActiveRecord::Base belongs_to :country end class Country < ActiveRecord::Base has_many :states, :order => "name" end > > Thanks in advance! Hope this helps -- Posted via http://www.ruby-forum.com/.