search for: print_invoice

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

2008 Jun 14
0
does BackgrounDRB not "know" the rails environment it is running within/in parallel with?]
...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.render_to_string "invoices/show", :layout => false File.open...