class ActiveRecord::MessagePack::Decoder

def build_record(entry)

def build_record(entry)
  class_name, attributes_hash, is_new_record, * = entry
  klass = ActiveSupport::MessagePack::Extensions.load_class(class_name)
  attributes = klass.attributes_builder.build_from_database(attributes_hash)
  klass.allocate.init_with_attributes(attributes, is_new_record)
end