Displaying 2 results from an estimated 2 matches for "past_perfect4_importer_work".
Did you mean:
past_perfect4_importer_worker
2007 Dec 28
2
Arity?
...undrb into new backgroundrb
isn''t going quite as smoothly. I have a import worker that takes a
number of parameters and then is started dynamically. Here''s the a
snippet of the worker code:
class PastPerfect4ImporterWorker < BackgrounDRb::MetaWorker
set_worker_name :past_perfect4_importer_worker
set_no_auto_load true
# importer has the version of methods that will work in the context
# of backgroundrb
include Importer
def create(args = nil)
@successful = false
@last_related_topic = nil
@last_related_topic_pp4_objectid = nil
@import_field_to_extended_f...
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello,
I''m working on an import utility that will match the functionality of
uploading an object of a model that uses attachment_fu for
thumbnailing, etc.
Rather than uploading the file via a form, I want to populate the
params[:image][:uploaded_data] with data from a file already on the
server''s file system.
So far, I''ve been able to copy to an instance of Tempfile