search for: last_two_users

Displaying 1 result from an estimated 1 matches for "last_two_users".

2006 Aug 14
3
last record
hi @all Can anyone help me? I would like to read the last two records from a database. In the database I have a table with id, name and sex. How can I read the last two records from the entered names, who are female? There are two conditions I need: > last entries > sex-condition User.find(:all, :condition.....) ?? -- Posted via http://www.ruby-forum.com/.