Frederick Cheung wrote:
> On Mar 2, 9:24�am, MaD <[email protected]> wrote:
>> vendor/rails/activerecord/lib/active_record/locking/pessimistic:
>> � � # Pass <tt>:lock => true</tt> to ActiveRecord::Base.find to obtain
>> an exclusive
> 
> That's a row lock :-) If you want a table lock you need to run the
> appropriate sql statement for your database by hand.
> 
> Fred


Please give me some examples to accomplish the table level lock.
-- 
Posted via http://www.ruby-forum.com/.

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