Re: problem in file uploading

Nadeesha Meththananda
2007-11-14T10:17:19Z

Akbar Home wrote:
> On Nov 14, 2:45 pm, Nadeesha Meththananda <rails-mailing-l...@andreas-
> s.net> wrote:
>> " You have a nil object when you didn''t expect it!
>> The error occurred while evaluating nil.read"
>>
>> so if any body know where i have gone wrong ?????????
>>
>
> Form_for is for object (when you pass activerecord object to view).
> Use form_tag instead.



sort it out the problem thanks.

by the way do u guys know any command to check the file format.

 eg like .doc, .pdf .jpg.