Displaying 1 result from an estimated 1 matches for "record_cov".
Did you mean:
record_cover
2005 Oct 09
6
Problem With url_for_file_column/file_column
...e very helpful file_column extension in my app.
The uploading portion works great - no problems.
Where I am having an issue is displaying the images in my view. My code
looks like this:
<% for @record in @main_box_releases -%>
<%= image_tag(url_for_file_column("record", "record_cover")) %>
<% end -%
@record is an instance of a class called Release. It is not nil, removing
the url_for_file_column makes all errors go away and other calls to @record
complete just fine.
I get this error:
cannot convert nil into String
I''ve tried many variations, such as:...