Forum: Ruby on Rails Updating a table with a 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.
fishkei (Guest)
on 2005-11-27 01:46
(Received via mailing list)
I have an "image" column in one of my tables.  I can use filecolumn to
insert data into the table just fine, the image gets uploaded.  However,
when I try to update that table, the image field in the form doesn't get
populated with the data in the image column.

here's a part of my _form.rhtml that doesn't get populated on edit:

<p><label for="client_image">Image</label><br/>
<%=  file_column_field 'client', 'image' %></p>

What am I doing wrong?

This topic is locked and can not be replied to.