# File upload problem - blank page after submission

**URL:** <https://www.ruby-forum.com/t/file-upload-problem-blank-page-after-submission/172815>\
**Category:** Rails\
**Created:** [July 28, 2009, 3:21pm UTC](https://www.ruby-forum.com/t/file-upload-problem-blank-page-after-submission/172815 "2009-07-28T15:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@christopher\_e](https://www.ruby-forum.com/u/christopher_e)\
**Post date:** [July 28, 2009, 3:21pm UTC](https://www.ruby-forum.com/t/file-upload-problem-blank-page-after-submission/172815/1 "2009-07-28T15:21:34Z")

</div>

Hi,

The form definition below seems to work fine on the “GET” request, but  
when I post, control is not passed to the action controller’s method  
modify. The return render is a blank page. There is nothing in the  
development.log file which indicates what could be going wrong.

Firebug shows the submission, and 200 OK respond from webrick.

So I’m lost now, can somebody help understand the blank page, and why  
the processing is not passed to the control’s method (modify)?

Thanks  
Chris

\<% form\_for(@web\_captcha, :url =\> { :action =\> “modify” }, :html =\>  
{:multipart =\> true, :class =\> “nifty\_form”}) do |f| %\>  
\<%= f.file\_field :image\_data %\>  
\<%= submit\_tag “Update” %\>  
\<% end %\>

---

<div class="post-metadata">

**Author:** ![christopher\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@christopher\_e](https://www.ruby-forum.com/u/christopher_e)\
**Post date:** [July 28, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/file-upload-problem-blank-page-after-submission/172815/2 "2009-07-28T15:45:34Z")

</div>

2009/7/28 Christopher E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> So I’m lost now, can somebody help understand the blank page, and why

Should that be f.submit “Update” ?

Colin
