Flowdock
method

lock!

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
lock!(locks = true) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/query_methods.rb, line 601
    def lock!(locks = true) # :nodoc:
      case locks
      when String, TrueClass, NilClass
        self.lock_value = locks || true
      else
        self.lock_value = false
      end

      self
    end
Register or log in to add new notes.