> > You're manual version updates only two fields, whereas update_or_insert >> updates six fields -- maybe that's the difference. >> >> Anthony >> > > Yes, but I want to insert a new record with six fields, but update only > two if the record exists. How to do that with .update_or_insert? >
Looks like you can't. Might be a nice enhancement, though. Maybe it could take "_insert_fields" and "_update_fields" arguments, which could be lists of field names to insert and update, respectively. Anthony

