How can i create a queryset and view (@contacts in my situation) in Rails 3 to list ActiveRecord objects alphabetically?
I’m trying to do this implementation;
A ->
Contacts starts with A
B ->
Contacts starts with B etc.
Final look:
http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/lists/lists-divider.html
Thanks
You have to do something like this:
In the view: