08-08-2011, 11:39 AM
Hey everyone ... in th elast 2/3 days i was modding svr 2010 and one day i wanted to add a atire to scott steiner and this popped up ...
NoMethodError in ModelsController#create
private method `chomp' called for nil:NilClass
RAILS_ROOT: D:/Gaby pt PS2/svredit_v18/svredit_lib
Application Trace | Framework Trace | Full Trace
D:/Gaby pt PS2/svredit_v18/svredit_lib/app/models/model_data_file.rb:18:in `file='
D:/Gaby pt PS2/svredit_v18/svredit_lib/app/controllers/models_controller.rb:69:in `create'
Request
Parameters:
{"form"=>{"wrestler_id"=>"146",
"wrestler_attire"=>"11",
"file"=>#<File:C:\Users\Gaby\AppData\Local\Temp\RackMultipart.3616.50169>},
"commit"=>"Upload file"}
Show session dump
Response
Headers:
{"Cache-Control"=>"no-cache",
"Content-Type"=>""}
so i refresed tryed again - same thing ...
next day i tryed to add another model ... guess what ... :ermm: -> again the same problem
so please if anyone knows how to fix this or whatever the problem is please tell me !!!
P.S : i*m new in svr editing !!!
NoMethodError in ModelsController#create
private method `chomp' called for nil:NilClass
RAILS_ROOT: D:/Gaby pt PS2/svredit_v18/svredit_lib
Application Trace | Framework Trace | Full Trace
D:/Gaby pt PS2/svredit_v18/svredit_lib/app/models/model_data_file.rb:18:in `file='
D:/Gaby pt PS2/svredit_v18/svredit_lib/app/controllers/models_controller.rb:69:in `create'
Request
Parameters:
{"form"=>{"wrestler_id"=>"146",
"wrestler_attire"=>"11",
"file"=>#<File:C:\Users\Gaby\AppData\Local\Temp\RackMultipart.3616.50169>},
"commit"=>"Upload file"}
Show session dump
Response
Headers:
{"Cache-Control"=>"no-cache",
"Content-Type"=>""}
so i refresed tryed again - same thing ...
next day i tryed to add another model ... guess what ... :ermm: -> again the same problem
so please if anyone knows how to fix this or whatever the problem is please tell me !!!
P.S : i*m new in svr editing !!!

( tried to move the pac file on the desktop ... shows the exactly same thing ...now what ?