Displaying 2 results from an estimated 2 matches for "invoicescontroller".
2008 Jan 06
8
n00b question/issue
...instantrails on windows. i downloaded ajax_scaffold and
installed using script/generate in a new rails project. after
configing the db i can the following error when trying to access
http://localhost:3001/invoices/list (invoices is the controller/table
i built ajax_scaffold on)...
NameError in InvoicesController#component
uninitialized constant Invoice
RAILS_ROOT: C:/INSTAN~1/rails_apps/mocerinotech/config/..
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,...
2008 Jun 14
0
does BackgrounDRB not "know" the rails environment it is running within/in parallel with?]
Hi,
it probably 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...