From: Clifford Heath Date: 2007-12-05T14:35:02+09:00 Subject: Re: @@IDENTITY For Mrperfect wrote: > doesn't anyone know how to retrieve the id of the last inserted record, > using ruby? It's not that, it's that no-one tends to respond quickly to folk who don't bother to use Google. Look at the following link, and show the source of "insert": To learn more, you might need to check out the ActiveRecord source code using svn.