Forum: Ruby on Rails Updating a table with a filecolumn

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3abc449148446ebed56b842ec4871265?d=identicon&s=25 fishkei (Guest)
on 2005-11-27 00: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?

Thanks,
eduard
This topic is locked and can not be replied to.