<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -31,7 +31,7 @@ module LocusFocus
               attaching = @owner.attachings.find(:first, :conditions =&gt; ['asset_id = ?', asset_id])
               attachable = attaching.attachable
               raise ActiveRecord::RecordNotFound unless attaching
-              attaching.destroy
+              result = attaching.destroy
               
               asset = Asset.find(asset_id)
               if asset.attachings.empty? &amp;&amp; delete_if_no_attachings# delete if no longer attached to anything
@@ -41,6 +41,7 @@ module LocusFocus
                 asset.data.send(:flush_deletes)
                 asset.save # needed to permanently remove file name and urls 
               end
+              result
             end
             
             protected</diff>
      <filename>lib/acts_as_polymorphic_paperclip.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>101d8d6ac2c65f0810bec5ad453be79d5e279da3</id>
    </parent>
  </parents>
  <author>
    <name>Mark Daggett</name>
    <email>heavysixer@mark-daggetts-macbook-pro.local</email>
  </author>
  <url>http://github.com/heavysixer/paperclippolymorph/commit/b83dd5b1ddc0957bb1681f5c4fc116b1c8e2d0b3</url>
  <id>b83dd5b1ddc0957bb1681f5c4fc116b1c8e2d0b3</id>
  <committed-date>2009-04-07T07:37:04-07:00</committed-date>
  <authored-date>2009-04-07T07:37:04-07:00</authored-date>
  <message>we need to ensure that we return the result of the destroy action.</message>
  <tree>7cfe1f64f24f160005009ccdc75b3f90a896a844</tree>
  <committer>
    <name>Mark Daggett</name>
    <email>heavysixer@mark-daggetts-macbook-pro.local</email>
  </committer>
</commit>
