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: post_image_filter.rb
    path of file: ./repos/sugar/app/filters
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class PostImageFilter < Filter
  include ActionView::Helpers::AssetTagHelper

    
  def embed_image(id, content_hash)
    image = PostImage.where(
      id:,
      content_hash:
    ).first
    return nil unless image

    dynamic_image_tag(image)
  end