>>> But when using UUIDs, there is no reason to ask the database for a 
>>> newly-inserted record's ID.
>> 
>> There is if ActiveRecord uses it for a primary key.
> 
> But ActiveRecord will have generated it, and given it to the DB to
> insert - the DB won't have generated it; so there's no need to ask for
> it back when AR already has it.

Yea, if you go that route in how ActiveRecord implements it. Like I said, that 
is how I tell people to do it in the wiki article or the SQL Server adapter.

 - Ken

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to