R – Filter a list with AZ tabs (image explication)

ruby-on-rails

how can filter with AZ tabs in my list items?

alt text http://www.pizarrayoro.com/az.gif

Best Solution

I don't fully understand but maybe this will help.

Customer.find(:all, :conditions => { :name => 'a'..'e' })

http://api.rubyonrails.org/classes/ActiveRecord/Base.html

If you need help with the controller or view specifically can you please add more information to your question?