Displaying 1 result from an estimated 1 matches for "dadgumit".
Did you mean:
dadgum
2006 Jul 09
8
find_all order question
How does one properly get find_all to grab the data from the DB table
ordered by a specific column?
For example:
@anglers = Angler.find_all
This code gets all the angler records and they are sorted in order of
the id field which is of course set as a primary key in the DB (mysql).
I''d really like to pull the data from the DB sorted in the order of
another field, for example