Hi all,

I'm building an app where I keep a large number of files on the
harddisk such as RAILS_ROOT/public/data/foo.bin etc..

Within my database I have a field that gives me foo.bin.

In a view how do I get a fully qualified url such as 
http://localhost:3000/data/foo.bin?
I tried using link_to but that gives a relative path.

c:\> rails --version
Rails 2.1.1

Thanks in advance,
Theo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to