Creating an alphabetic list

I'm wishing to create an alphabetic list in Rails so it's not necessary to hard code a block of code that would generate links to find records that being with A, or B, or C, etc

Basically, I want to create an alphabetic list. Maybe it's simple and I'm looking for something difficult?

http://agilewebdevelopment.com/plugins/alphabar

maybe?