Displaying 3 results from an estimated 3 matches for "relative_path_prefix".
2005 Nov 18
10
[Request] file_column configurability
I wasn''t sure where to email this request, so I am hoping the author of
file_column actually sees this. I was wondering if there were any plans to
allow some configurability in the file_column plugin. By configurability I
mean allowing the developer to define which table column is used as the
unique identifier when creating image folders. Right now it seems like it
uses the ID of the
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 to work fine. Since this is a plugin, I''m wondering why I need to make this modification. Is there something wrong with my install or with the plugin?
--------------...
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload
ok and I can see the fields updated in the database, but I am getting
this error:
"Trying to access file_column, but primary key got lost."
Thanks in advance
--
Posted via http://www.ruby-forum.com/.