Josh Kieschnick
2006-May-30 18:42 UTC
[Rails] url_for_file_column and image_tag not working right together
i just got file_column working and i love it. but i''m having some problems with the urls. my application is not in the base directory, it is in a folder called "/testapp". when i use "image_tag" with "url_for_file_column", i get this path: /testapp/testapp/entry/image/3/myimage.jpg the image is located at: /testapp/entry/image/3/myimage.jpg to see if it was my file_upload making the wrong urls, i tried something like: <%= link_to ''Image'', url_for_file_column... the links work perfectly fine. has anyone has the same problems? -- Posted via http://www.ruby-forum.com/.