Forum: Ruby on Rails Uploading files using FileColumn

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
jeevs (Guest)
on 2006-12-31 01:40
(Received via mailing list)
Hi Guys,
            My end result should be to upload doc's and pdf's. I've got
file_column ( working
for uploading files. However when I want to view them I get the
following problems.

<%= image_tag url_for_file_column("career", "cv_path") %>
it redirects to the following URL
where career = model, cv_path = field, 8 = career_id
when it should be without the "development"
Does anyone know how I can change this?

Also how do I get it to to display doc and text files as well.
This topic is locked and can not be replied to.