Displaying 2 results from an estimated 2 matches for "billing_worker".
2008 Jun 14
0
does BackgrounDRB not "know" the rails environment it is running within/in parallel with?]
...ably is a noob question but I''m confused by this error message:
active_support/dependencies.rb:478:in `const_missing'': uninitialized
constant Invoice::ApplicationController
Situation:
I have an InvoicesController with a create method that in turn calls
upon a MiddleMan.worker(:billing_worker), which in turn finds an Invoice
and calls upon @invoice.print_invoice
"public/forms/invoices/html/#{invoice.invoice_number}.html" to generate
a html version of an invoice.
The class Invoice.rb has this print_invoice method:
def print_invoice path_and_file
htmlstring = self.ren...
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,