Using file_column data in IMG tag

When I use file_column to upload an image, it seems that the correct
filename is saved in the database. But, when building a page from a
record that
contains links to the image, I get the following url when I try to use
the :image attribute in an IMG tag:

./script/…/config/…/public/picture/image/1/FOW0038.jpg

I don’t know where all of the stuff before “public” is coming from (the
rest of the path is fine). Does anyone have any insight?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs