This is the result of the rake routes:
DEPRECATION WARNING: Rake tasks in /Users/user/Sites/RoR/gesba/vendor/plugins/prawnto/tasks/prawnto_tasks.rake are deprecated. Use lib/tasks instead. (called from /Users/user/Sites/RoR/gesba/Rakefile:9)
affords GET /affords(.:format) {:controller=>"affords", :action=>"index"}
POST /affords(.:format) {:controller=>"affords", :action=>"create"}
new_afford GET /affords/new(.:format) {:controller=>"affords", :action=>"new"}
edit_afford GET /affords/:id/edit(.:format) {:controller=>"affords", :action=>"edit"}
afford GET /affords/:id(.:format) {:controller=>"affords", :action=>"show"}
PUT /affords/:id(.:format) {:controller=>"affords", :action=>"update"}
DELETE /affords/:id(.:format) {:controller=>"affords", :action=>"destroy"}
pay_checks GET /pay_checks(.:format) {:controller=>"pay_checks", :action=>"index"}
POST /pay_checks(.:format) {:controller=>"pay_checks", :action=>"create"}
new_pay_check GET /pay_checks/new(.:format) {:controller=>"pay_checks", :action=>"new"}
edit_pay_check GET /pay_checks/:id/edit(.:format) {:controller=>"pay_checks", :action=>"edit"}
pay_check GET /pay_checks/:id(.:format) {:controller=>"pay_checks", :action=>"show"}
PUT /pay_checks/:id(.:format) {:controller=>"pay_checks", :action=>"update"}
DELETE /pay_checks/:id(.:format) {:controller=>"pay_checks", :action=>"destroy"}
GET /pay_checks/:id(.:format) {:controller=>"pay_checks", :action=>"show"}
work_addresses GET /work_addresses(.:format) {:controller=>"work_addresses", :action=>"index"}
POST /work_addresses(.:format) {:controller=>"work_addresses", :action=>"create"}
new_work_address GET /work_addresses/new(.:format) {:controller=>"work_addresses", :action=>"new"}
edit_work_address GET /work_addresses/:id/edit(.:format) {:controller=>"work_addresses", :action=>"edit"}
work_address GET /work_addresses/:id(.:format) {:controller=>"work_addresses", :action=>"show"}
PUT /work_addresses/:id(.:format) {:controller=>"work_addresses", :action=>"update"}
DELETE /work_addresses/:id(.:format) {:controller=>"work_addresses", :action=>"destroy"}
contracts GET /contracts(.:format) {:controller=>"contracts", :action=>"index"}
POST /contracts(.:format) {:controller=>"contracts", :action=>"create"}
new_contract GET /contracts/new(.:format) {:controller=>"contracts", :action=>"new"}
edit_contract GET /contracts/:id/edit(.:format) {:controller=>"contracts", :action=>"edit"}
contract GET /contracts/:id(.:format) {:controller=>"contracts", :action=>"show"}
PUT /contracts/:id(.:format) {:controller=>"contracts", :action=>"update"}
DELETE /contracts/:id(.:format) {:controller=>"contracts", :action=>"destroy"}
referents GET /referents(.:format) {:controller=>"referents", :action=>"index"}
POST /referents(.:format) {:controller=>"referents", :action=>"create"}
new_referent GET /referents/new(.:format) {:controller=>"referents", :action=>"new"}
edit_referent GET /referents/:id/edit(.:format) {:controller=>"referents", :action=>"edit"}
referent GET /referents/:id(.:format) {:controller=>"referents", :action=>"show"}
PUT /referents/:id(.:format) {:controller=>"referents", :action=>"update"}
DELETE /referents/:id(.:format) {:controller=>"referents", :action=>"destroy"}
customers GET /customers(.:format) {:controller=>"customers", :action=>"index"}
POST /customers(.:format) {:controller=>"customers", :action=>"create"}
new_customer GET /customers/new(.:format) {:controller=>"customers", :action=>"new"}
edit_customer GET /customers/:id/edit(.:format) {:controller=>"customers", :action=>"edit"}
customer GET /customers/:id(.:format) {:controller=>"customers", :action=>"show"}
PUT /customers/:id(.:format) {:controller=>"customers", :action=>"update"}
DELETE /customers/:id(.:format) {:controller=>"customers", :action=>"destroy"}
workers GET /workers(.:format) {:controller=>"workers", :action=>"index"}
POST /workers(.:format) {:controller=>"workers", :action=>"create"}
new_worker GET /workers/new(.:format) {:controller=>"workers", :action=>"new"}
edit_worker GET /workers/:id/edit(.:format) {:controller=>"workers", :action=>"edit"}
worker GET /workers/:id(.:format) {:controller=>"workers", :action=>"show"}
PUT /workers/:id(.:format) {:controller=>"workers", :action=>"update"}
DELETE /workers/:id(.:format) {:controller=>"workers", :action=>"destroy"}
users GET /users(.:format) {:controller=>"users", :action=>"index"}
POST /users(.:format) {:controller=>"users", :action=>"create"}
new_user GET /users/new(.:format) {:controller=>"users", :action=>"new"}
edit_user GET /users/:id/edit(.:format) {:controller=>"users", :action=>"edit"}
user GET /users/:id(.:format) {:controller=>"users", :action=>"show"}
PUT /users/:id(.:format) {:controller=>"users", :action=>"update"}
DELETE /users/:id(.:format) {:controller=>"users", :action=>"destroy"}
start GET /start(.:format) {:controller=>"start", :action=>"index"}
POST /start(.:format) {:controller=>"start", :action=>"index"}
login GET /login(.:format) {:controller=>"sessions", :action=>"new"}
POST /login(.:format) {:controller=>"sessions", :action=>"create"}
logout DELETE /logout(.:format) {:controller=>"sessions", :action=>"destroy"}
/logout(.:format) {:controller=>"sessions", :action=>"destroy"}
contracts_close GET /contracts/close/:contract_id(.:format) {:controller=>"contracts", :action=>"close"}
POST /contracts/close/:contract_id(.:format) {:controller=>"contracts", :action=>"close_submitted"}
start /(.:format) {:controller=>"contracts", :action=>"index"}
Now I'm testing my app on the production hosting.
I'm using a "test" account and there is Rails 2.3.2 installed (when I'll purchase the hosting I'll be able to update it)
With Rails 2.3.2 I get a "Missing template" error when I generate the pdf:
Missing template pay_checks/show with {:locale=>[:en, :en], :formats=>[:pdf], :handlers=>[:builder, :erb, :rjs, :rhtml, :rxml]} in view paths "/accounts/user/www/test/app/views"
Since I'm using prawnto I'm using the show.pdf.prawn template which don't appera in the handlers list.
This problem will be fixed using Rails 3.x?
Thanks for your help
Last edited by nimbuz77 (2011-11-08 10:39:50)