uploaded_file.rb 196 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 require File.expand_path(File.dirname(__FILE__) + "/../../../app/models/uploaded_file") class UploadedFile < Article has_attachment(attachment_options.merge(:path_prefix => "test/tmp")) end