I poked around and figured this out myself. I had to add the following 
to my document model:

class Document < ActiveRecord::Base
  ...

  acts_as_paranoid

  #do not destory file (usually called from after_destroy)
  def destroy_file
    return
  end
end

Chris Bloom wrote:
> I'm now wondering if
> acts_as_paranoid will work with models that use attachment_fu? If so, in
> what model to I add the acts_as_paranoid bit, and do I need to override
> the acts_as_attachment model destroy methods?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to