Solved! Re: [Rails] Can't upload files when WEBrick running in daemon mode.

2011-07-16 Thread Jen
Hi, I solved this by including the absolute path to the directory where the uploaded files are placed. Now the code is: #takes the upload object and extracts the file. def filesave #Calls the .original_filename method on the upload object and stores in the variable name name =

Re: [Rails] Can't upload files when WEBrick running in daemon mode.

2011-07-04 Thread Paulo Muggler Moreira
I personally use mongrels for my development chops, and passenger in production environments; I have yet to take the unicorn for a ride. I advise you to drop WEBrick entirely. Also, be sure to look at this security considerations http://guides.rubyonrails.org/security.html#file-uploads if you

[Rails] Can't upload files when WEBrick running in daemon mode.

2011-07-03 Thread Jen
Hi, When running my app in development with WEBrick in daemon mode I get the following error when trying to upload a file: Errno::ENOENT in UploadController#create No such file or directory - public/data/upload/google |Rails.root: /home/resource_portal/website| Application Trace

Re: [Rails] Can't upload files when WEBrick running in daemon mode.

2011-07-03 Thread Hassan Schroeder
On Sun, Jul 3, 2011 at 6:19 AM, Jen jen.bot...@gmail.com wrote: When running my app in development with WEBrick in daemon mode I get the following error when trying to upload a file: Errno::ENOENT in UploadController#create No such file or directory - public/data/upload/google I do not get