Don't like to reply to myself here, but basically I think this is
coming down to the need to lock the entire table while each new
document is being saved. That way no other session can calculate the
same "next_version" until the current record is saved.  Is this
possible with transactions? What is the proper way to lock the entire
table in rails? I'm not finding good info on this...

Thanks again.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to