On Apr 2, 2012, at 4:33 PM, PierreW wrote:

> My
> understanding was that :lock => true only locks a specific record, but
> it seems it is not the case and it locks the entire table.

That depends on what kind of locking the underlying database offers. Which with 
MySQL depends on the storage manager you're using.

-- 
Scott Ribe
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice




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