Forum: Ruby on Rails newbie file_column question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fbd9cb107fe7c941333d6a3488691989?d=identicon&s=25 Ramon Tayag (ramontayag)
on 2007-06-16 16:43
(Received via mailing list)
Hi everyone. I'm running my rails app in a directory. I access it like
this: www.server.com/railsapp.

The problem is now when I use file_column's url_for_file_column, it
includes the railsapp directory at the beginning. ex:
railsapp/path/to/file.

That means the URL that comes out in the source looks something like
this: /railsapp/railsapp/path/to/file :(

How do I fix this?

Thanks
--
Ramon Tayag
Ad91bce9c9a8c68b6942607e4721f74e?d=identicon&s=25 Beate Paland (Guest)
on 2007-06-16 22:12
(Received via mailing list)
Hi Ramon,

2007/6/16, Ramon Miguel M. Tayag <ramon.tayag@gmail.com>:
> How do I fix this?

There will be no further development for file_column any more,
Sebastian has no more time.

Perhaps you want to try uploadcolumn
(http://uploadcolumn.rubyforge.org/) instead, is has more features,
too :)

Regards,
Beate
Fbd9cb107fe7c941333d6a3488691989?d=identicon&s=25 Ramon Tayag (ramontayag)
on 2007-06-17 03:14
(Received via mailing list)
Thank you, will definitely do that :)

On 6/17/07, Beate Paland <bpaland@gmail.com> wrote:
> (http://uploadcolumn.rubyforge.org/) instead, is has more features,
> too :)
>
> Regards,
> Beate

--
Ramon Tayag
Fbd9cb107fe7c941333d6a3488691989?d=identicon&s=25 Ramon Tayag (ramontayag)
on 2007-06-17 04:14
(Received via mailing list)
I tried installing it but I get the same problem as this guy:
http://www.railsforum.com/viewtopic.php?pid=25928

So, I downloaded it and just put it in my plugins directory.. but when
I book WEBrick, it just crashes with some errors :o

I'm looking for an alternative now.

On 6/17/07, Beate Paland <bpaland@gmail.com> wrote:
> (http://uploadcolumn.rubyforge.org/) instead, is has more features,
> too :)
>
> Regards,
> Beate

--
Ramon Tayag
This topic is locked and can not be replied to.