Forum: Ruby on Rails file_column issue

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.
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 unknown (Guest)
on 2007-03-29 03:56
(Received via mailing list)
can anybody here try and help diagnose the file_column error below? I
an object @user that has the image properly set up.  This code works on
other pages just fine but for some reason I am getting the following

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.split

16:                     <% if @user.image %>
17:                      <%= image_tag url_for_image_column @user,
"image" %>
18:                     <% else %>
19:                      <img src="/images/qmark.jpg" width="108"
border="0" alt="" class="profile">
20:                     <% end %>


Any ideas ?

F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 unknown (Guest)
on 2007-03-30 14:33
(Received via mailing list)
is there a debug mechanism for url_for_image_column ?  I cant track down
nil here ...
Ad91bce9c9a8c68b6942607e4721f74e?d=identicon&s=25 Beate Paland (Guest)
on 2007-03-30 16:34
(Received via mailing list)
Hi Adam,

the development of file_column is stopped, as the author has't time for

Try to use attachment_fu instead, it's good :)

This topic is locked and can not be replied to.