method

add_lock!

Importance_1
Ruby on Rails latest stable (v2.3.4) - 0 notes - Class: ActiveRecord::Base
add_lock!(sql, options, scope = :auto) private

The optional scope argument is for the current :find scope. The :lock option has precedence over a scoped :lock.

Show source
Register or log in to add new notes.