Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Docs for ActiveRecord::Locking::Pessimistic don't make sense

#6689

The online documentation for ActiveRecord::Locking::Pessimistic in Rails 3.0.6 has a small error in it:

  shugo = Account.where("name = 'shugo'").lock(true).first
  yuko = Account.where("name = 'shugo'").lock(true).first

It seems like the latter should have where("name = 'yuko'") instead.

Reported by Chris Willmore · April 8th, 2011 @ 07:23 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none