Ruby on Rails: file_column

software development

#1

Hello everybody

I use file_column to upload pictures… Problem: The permissions of the uploaded images are set wrong. What am I doing wrong?

Thanks a lot
al


#2

I have a similar ruby on rails site where I am allowing uploaded pictures and I am able to do it fine. What exact error are you getting? You can use chown/chmod with FileUtils if you want the permission set differently. Here: http://www.ruby-doc.org/core/classes/FileUtils.html