Ok, I did the following:
- moved the code to app/views/upload/index.html.erb
- uncommented the index method in the controller, but made it empty

Now, I no longer get any error message, but when I submit a file and click 
the Upload button, the form just flashes, but comes back with an empty field 
for the input file.
So the desired method, uploadFile, is still not getting called in the 
controller.
Here's what the log says:

Processing UploadController#index (for 127.0.0.1 at [blah,blah,blah]...
  Parameters: {"action"=>"index", "controller"=>"upload"}
Rendering upload/index

 I'm still puzzled: why is the uploadFile method not getting called, when 
the submit action clearly states:

<% form_tag ({*:action => 'uploadFile*'}, :multipart => true) do %> 
....

thx for the help, 
still wondering,
rixter

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to