Friday, December 14, 2007

URLs With file_column

This patch modifies the Rails file_column plugin so that it may download a remote file via HTTP in addition to using uploaded data. Now you can specify a string with a full valid URL.

Run it against lib/file_column.rb

Enjoy! file_column patch.

1 comment:

punnu35 said...

how do I use this in my view? I want to dynamically fill the value in the input type=file to the URL, but firefox throws a security error. Do u have a working example with the urls getting converted to files?

Thanks