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 =
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
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
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
4 matches
Mail list logo