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/.