search for: _relative_path

Displaying 2 results from an estimated 2 matches for "_relative_path".

Did you mean: relative_path
2005 Oct 04
3
[Q] file_column help needed
Hi all, I''m trying to use file_column to upload a picture but I''m getting the following error: "cannot convert nil into String" caused by the last line in FileColumnHelper::url_for_file_column(object_name, method) url << object.send("#{method}_relative_path") I don''t have any images uploaded for existing entries so does this not work when images are missing? Or what am I missing? Thanks, Brent __________________________________ Yahoo! Mail - PC Magazine Editors'' Choice 2005 http://mail.yahoo.com
2005 Aug 17
7
(newbie) #{method}_relative_path empty (file upload 0.1.2)
...erent models using it... with one of them it''s working just fine. with another, everything works, with the exception of the url_for_file_column helper, which shows /entry/file_column/ but not the relative path (/ entry_id/file_name), so it writes this: /photo/file// looks like file_relative_path isn''t returning the path, though there''s a file name written to a ''file'' column in the database table. I examined the source for the module, but couldn''t find where it breaks, if anything I''m doing is conflicting with the module for instan...