# File\_column issue

**URL:** <https://www.ruby-forum.com/t/file-column-issue/90482>\
**Category:** Rails\
**Created:** [March 29, 2007, 3:56am UTC](https://www.ruby-forum.com/t/file-column-issue/90482 "2007-03-29T03:56:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 29, 2007, 3:56am UTC](https://www.ruby-forum.com/t/file-column-issue/90482/1 "2007-03-29T03:56:02Z")

</div>

can anybody here try and help diagnose the file\_column error below? I  
have  
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  
error:

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: ![](https://test.ruby-forum.com/images/qmark.jpg)  
20: \<% end %\>

/opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action\_view/helpers/asset\_tag\_helper.rb:156:in  
`image_path' /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/helpers/asset_tag_helper.rb:188:in`image\_tag’  
#{RAILS\_ROOT}/app/views/content/showprofile.rhtml:17:in  
`\_run\_rhtml\_47app47views47content47showprofile46rhtml’

Any ideas ?

Thanks  
Adam

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 30, 2007, 2:33pm UTC](https://www.ruby-forum.com/t/file-column-issue/90482/2 "2007-03-30T14:33:25Z")

</div>

is there a debug mechanism for url\_for\_image\_column ? I cant track down  
the  
nil here …

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 30, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/file-column-issue/90482/3 "2007-03-30T16:34:44Z")

</div>

Hi Adam,

the development of file\_column is stopped, as the author has’t time for  
it.

Try to use attachment\_fu instead, it’s good 🙂

Beate
