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?

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?

alphabet = ‘A’…‘Z’

alphabet.each |letterl do
#your code here
end

is this what you you need?

Credit belongs to http://shanti.railsblog.com/. I saw this on his blog.

Michael B. wrote:

alphabet = ‘A’…‘Z’

alphabet.each |letterl do
#your code here
end

is this what you you need?

Thanks Michael. Got it to work with
alphabet.each do |letter|