search for: url_to_file_column

Displaying 1 result from an estimated 1 matches for "url_to_file_column".

Did you mean: url_for_file_column
2006 Jan 17
3
file_column :root_path question.
...quot;/home/www/rails-apps/myapp-externals" } else file_column :image end end This is kludgy and I don''t like hard-coding a path, but this at least gets file_column to store files outside my application''s root. As far as uploading files goes, this is working fine. But url_to_file_column still generates URIs that point to the directory tree under myapp/public so of course my files aren''t available to the browser. How do I gracefully and maintainably fix this? It''s not simply a matter of a redirect in my lighttpd.conf since the url_for_file_column uris have p...