with_lock(lock = true)
Instance Public methods
Wraps the passed block in a transaction, locking the object before
yielding. You can pass the SQL locking clause as argument (see
lock!).
Wraps the passed block in a transaction, locking the object before
yielding. You can pass the SQL locking clause as argument (see
lock!).
Please login to continue.