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
scott_ribe@elevated-dev.com
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment