Ah ha,

Yes, in file_column.rb
--------------------------------------------------
  # FileColumn's storage location is determined in the following way.
All
  # files are saved below the so-called "root_path" directory, which
defaults to
  # "RAILS_ROOT/public".
   <snip>
  # You can specify a custom root_path by setting the <tt>:root_path</
tt> option.


  # default options. You can override these with +file_column+'s
+options+ parameter
    DEFAULT_OPTIONS = {
      :root_path => File.join(RAILS_ROOT, "public"),
      :web_root => "rails/",   #added "rails/" here

------------------------------------

Thanks alot!

On Sep 21, 8:20 am, Mark Reginald James <[EMAIL PROTECTED]>
wrote:
> dschruth wrote:
> > But my main problem of *reading* these uploaded files remains.  The
> > URL that File_Column generates still doesn't include the proper
> > prefix.
>
> > Any ideas?  Is there any easy way I can get File_Column to use
> > ActionController::AbstractRequest.relative_url_root  that I set in
> > environement.rb?
>
> Have you looked into File Column's :base_url option?
>
> --
> Rails Wheels - Find Plugins, List & Sell Plugins -http://railswheels.com
--~--~---------~--~----~------------~-------~--~----~
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