Rails Upload Tutorial not working

How we can improve TutorialsPoint.com
no avatar
eturbin
 
Posts: 1
Joined: Thu Aug 23, 2007 2:10 pm

Rails Upload Tutorial not working

by eturbin » Thu Aug 23, 2007 2:20 pm

I've tried this several times on different machines and I get the error:

undefined method `save' for DataFile:Class.

Can anyone explain this to me? I followed the instructions carefully and copied all of the code from the examples. I'm new to rails, but it seems like the tutorial should actually work.

Also, how do I call the sanitize_filename and cleanup functions at the end?

Return to Suggestions

cron