You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed a simple example to upload a file. When i add to the upload form the field <%= f.file_field :uploaded_data %>, and submit the form (with or without an image), i get an error message in the web page:
500 Internal Server Error
On the server log i get an error message:TypeError (can't convert nil into Integer):
I followed a simple example to upload a file. When i add to the upload form the field <%= f.file_field :uploaded_data %>, and submit the form (with or without an image), i get an error message in the web page:
500 Internal Server Error
On the server log i get an error message:TypeError (can't convert nil into Integer):
I am on rails 3.0.5 and Ruby 1.9.2 on Windows 7
I used the sample code at:http://clarkware.com/blog/2007/02/24/file-upload-fu
The text was updated successfully, but these errors were encountered: