Displaying 1 result from an estimated 1 matches for "4d9400c5".
Did you mean:
494005
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/.