GPID_Error_doc_1-25 - Ruby Forum

attentionclewInternet και Εφαρμογές Web

2 Φεβ 2013 (πριν από 4 χρόνια και 11 μήνες)

145 εμφανίσεις

NoMethodError in Work
requestsController#wr_process_new_pid

private method `chomp!' called for nil:NilClass

RAILS_ROOT: C:/web/GPID

Application Trace

|
Framework Trace

|
Full Trace


C:/web/GPID/lib/gpid_mail_utils.rb:105:in `readline'

C:/web/GPID/lib/gpid_mai
l_utils.rb:39:in `send_mail'

C:/web/GPID/lib/gpid_mail_utils.rb:30:in `each'

C:/web/GPID/lib/gpid_mail_utils.rb:30:in `send_mail'

C:/web/GPID/app/controllers/work_requests_controller.rb:194:in `wr_submit_new_pid'

C:/web/GPID/app/controllers/work_requests_c
ontroller.rb:41:in `wr_process_new_pid'

C:/web/GPID/app/controllers/work_requests_controller.rb:40:in `wr_process_new_pid'

Request

Parameters
:

{"submit"=>"Submit Request",


"authenticity_token"=>"77TbltjBUvnFqgW/uLSmwo3i2LAlxNvwgA9bLe2sjGE=",


"product"=>{"Type_id"=>
"1",


"Manufacturer_id"=>"28",


"ServicePhilosophy_id"=>"13",


"PidMfg"=>"test2",


"Family_id"=>"3",


"PowerLang"=>"0013",


"Comments"=>"test for doug. please delete.",


"Description"=>"test2"},


"work_request"=>{"Requestor"=>"WB185025",


"RequestType"=>"
NEW_PID"},


"NewManufacturer"=>{"false"=>""},


"CableLength"=>"4",


"Unit"=>"feet"}

Show session dump

---


Response

Headers
:

{"Content
-
Type"=>"",


"Cache
-
Control"=>"no
-
cac
he"}