You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: scribing.rb
    path of file: ./repos/coursemology2/app/models/course/assessment/answer
    
    the code of the file until where you have to start completion: # frozen_string_lit
    
  def reset_answer
    self.class.transaction do
      scribbles.clear
      raise ActiveRecord::Rollback unless save
    end
    acting_as
  end