From: For Mrperfect Date: 2007-12-05T23:03:32+09:00 Subject: Re: @@IDENTITY Alex Young wrote: > You want a: > > customer = @asset.customers.create(params[:customer]) > > following which, customer.id will have the ID of the customer record as > inserted into the customers table. > > -- > Alex GREAT! Thanks, Alex! -- Posted via http://www.ruby-forum.com/.