Module

Locking

There's no documentation for this item.

Modules
Optimistic Optimistic locking allows multiple users to access the same record for edits, and assumes a minimum of conflicts with the data. It does this by checking whether another process has made changes to a record since it was opened, an ActiveRecord::StaleObjectError is thrown if that has occurred and the update is ignored.
Pessimistic Locking::Pessimistic provides support for row-level locking using SELECT … FOR UPDATE and other lock types.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.