class ViewModel::ActiveRecord::UpdateContext
def initialize
def initialize @root_update_operations = [] # The subject(s) of this update @referenced_update_operations = {} # data updates to other root models, referred to by a ref hash # Set of ViewModel::Reference used to assert only a single update is # present for each viewmodel @updated_viewmodel_references = Set.new # hash of { ViewModel::Reference => deferred UpdateOperation } # for linked partially-constructed node updates @worklist = {} @release_pool = ReleasePool.new end