Displaying 1 result from an estimated 1 matches for "simple_sav".
Did you mean:
  simple_save
  
2006 Jun 07
5
File is nil
...app/controllers/logfile_controller.rb:31:in `create''
  Request
  Parameters: {"logfile"=> {"fileName"=>#<StringIO:0x39c3fc0>},
               "commit"=>"Create"}
This is the code in view:
   <%= form_tag({:action => ''simple_save''},
                {:method => "post", :multipart => true}) %>
      <input type="file" name="logfile_fileName" />
      <%= submit_tag "Simple Save" %>
   <%= end_form_tag %>
This is the code in the controller:
   def c...