dont add a route for that, is in the public directory there is no need for that, everything static is server by the web server no by rails so creating a route in the route file makes no sense. Are you using capistrano and paperclip? in that case that is not the right path, capistrano updates the sym links on every release so everything that needs to be persistent has to be inside the public/system/
tell me your deployment environment to see if i can help.
dont add a route for that, is in the public directory there is no need
for
that, everything static is server by the web server no by rails so
creating
a route in the route file makes no sense. Are you using capistrano and
paperclip? in that case that is not the right path, capistrano updates
the
sym links on every release so everything that needs to be persistent has
to
be inside the public/system/
tell me your deployment environment to see if i can help.
Hi radhames,
I am using attachment_fu for image uploading. Images are getting created
in public/pictures/0000/0001/<image_name>
Are you sure the message is coming from the upload and not from the
action after the upload completes? Check your code to see what you do
after the upload (is it attempting to show the picture, using the
wrong path?) and have a look in the log file to get more clues.
OK, I was confused by the fact that you said the images were getting
created in public/pictures/0000/0001/<image_name>, but now you say
they are not getting saved at all.
What are you using to deploy ? are you using capistrano? and by the way paperclip is much better than attachment_fu
watch this screencast http://railscasts.com/episodes/134-paperclip , it is important to now is your are using capistrano(you should be!), and put a bit of your vew code when you present the pictures, i need to see some of th code to help.