On 9 December 2010 12:20, Ralph Shnelvar <[email protected]> wrote: > I have a file whose name is > > f:\Ralph-Rails-Apps\myproject\public\documentation\marketing\myproject-Upgrade-and-Update-Policy.htm > > on my Windows machine > > > > I have attempted to open this file (which I know exists) in my > controller using a variety of names to no avail. > /public/documentation/marketing/myproject-Upgrade-and-Update-Policy.htm > public/documentation/marketing/myproject-Upgrade-and-Update-Policy.htm > /documentation/marketing/myproject-Upgrade-and-Update-Policy.htm > documentation/marketing/myproject-Upgrade-and-Update-Policy.htm > > > How can I open this file in both my development environment (Windows & > webrick) and on my server (Linux abd Apache(?))
What do you mean by 'open this file in my controller'? Show us some code. If you are trying to view it in a browser or redirect to it, it would be the third one (/documentation/....). Colin -- 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.

