search for: logfile_filenam

Displaying 1 result from an estimated 1 matches for "logfile_filenam".

Did you mean: logfile_filename
2006 Jun 07
5
File is nil
...: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 create ... @logfile.file= @params[''logfile_fileName''] ... end And the Model is nearly identical to the code in here:...