method

initialize_attributes

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.