title: Rails 5.2 Active Storage not deleting attached images
body: <p>I'm trying to delete an image that's attached to a job post. But after clicking on remove, the attached image is still there and doesn't get deleted from the job post.</p>
  
  <p>Job Show page</p>
  
  <pre><code>&lt;div class="ui text container slides"&gt;
          &lt;i class=" left angle icon"&gt;&lt;/i&gt;
          &lt;i class=" right angle icon"&gt;&lt;/i&gt;
         &lt;% @job.images.each_with_index do |image, index| %&gt;
          &lt;div class="slide active"&gt;
            &lt;%= image_tag image, size: 200 %&gt; 
   &lt;%= link_to 'Remove', delete_image_attachment_job_url(image.signed_id),
                      method: :delete,
                      data: { confirm: 'Are you sure?' } %&gt;
                  &lt;/div&gt; 
           &lt;% end %&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>routes</p>
  
  <pre><code>  resources :jobs do
    member do
      delete :delete_image_attachment
    end
  end
  </code></pre>
  
  <p>jobs_controller.rb</p>
  
  <pre><code>def delete_image_attachment
      @image = ActiveStorage::Blob.find_signed(params[:id])
      @image.purge
      redirect_to root_path
  end
  </code></pre>