# File lib/tapkit/control/dbobject.rb, line 31 def update_from_snapshot( snapshot ) all_property_keys.each do |key| if value = snapshot[key] then if to_one_relationship_keys.include?(key) and (value != nil) then value = @editing_context.fault value elsif to_many_relationship_keys.include?(key) and (value != nil) then value = @editing_context.array_fault(value.source_gid, key) end _init_stored_value(key, value) end end end