search for: supporting_documents

Displaying 1 result from an estimated 1 matches for "supporting_documents".

2008 Sep 25
1
Will acts_as_paranoid work with attachment_fu?
...n-delete these things and 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? class Project < ActiveRecord::Base has_many :supporting_documents, :as => :documentable, :dependent => :destroy has_many :jobs, :dependent => :destroy has_many :comments, :as => :resource, :order => ''created_at desc'', :dependent => :destroy has_many :documents acts_as_paranoid end class Job < ActiveRecord::Bas...