Displaying 2 results from an estimated 2 matches for "url_for_file_colum".
Did you mean:
url_for_file_column
2005 Dec 04
2
Filecolumn: url_for_file_column problem
Calling url_for_file_colum results in a TypeError: can''t convert nil to string.
The error is in line 148 of filecolumn.rb:
def relative_path(subdir=nil)
File.join(relative_path_prefix,subdir, @filename)
end
If I substitute '''' for subdir in the File.join command, then it seems...
2007 Aug 18
1
problem with file_column url generator
Hi,
I have the following in a viewer
Here, @lst = Homework.find(:all) is an array of homeworks. I checked
this this is correct.
Based on the error below, somehow, the url_for_file_colum does not
like to act on the model element.
I checked the source code to url_for_file_column, and the problem is
with instance_variable_get().
I have no idea wat is going on! Any help is appreciated. Gordon.
----------------
<% @lst.each do |hwk| %>
<p>
<%= link_to File.base...