Flowdock
method

initialize_attributes

Importance_1
v3.2.13 - Show latest stable - 0 notes - Class: ActiveRecord::Locking::Optimistic::ClassMethods
initialize_attributes(attributes, options = {}) public

If the locking column has no default value set, start the lock version at zero. Note we can’t use locking_enabled? at this point as @attributes may not have been initialized yet.

Show source
Register or log in to add new notes.