technoweenie/attachment_fu

Form with "f.file_field :uploaded_data" causes 500 internal server error

ilankasan opened this issue · 3 comments

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
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.

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

This is an active record plugin. That's a problem with your app. Check your logs.

Hi and thanks.
What do you mean by an active record problem? What specifically do i need to look for?

BTW - i am running on Windows 7

I have same problem as above issue