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:
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