I should clarify. 1. I control both servers that I'm working with, so the security risk is practically nil. 2. The app is very small. Any performance hits I'd take by including a remote file is acceptable.
That said, still don't have a fix. Thanx. Eric On Sep 30, 11:17 am, Eric Gruber <e...@rumblestrut.com> wrote: > If there's some sort of risk, please inform. > > Not that it matters, that didn't work either. > > On Sep 30, 11:13 am, John Barnette <jbarne...@gmail.com> wrote: > > > On Sep 30, 2009, at 9:06 AM, Eric Gruber wrote: > > > > OK ... so is there another way to do it without using render? > > > > Surely this isn't something that PHP can do that Rails can't. > > > This is a terrible idea. But hey, here, have a loaded gun: > > > <%= open("http://example.com/navigation.html").read %> > > > ~ j. > > > > On Sep 30, 11:04 am, Eric Gruber <e...@rumblestrut.com> wrote: > > >> Right. That helps if the file I am using is locally. But what do I do > > >> if that file is from another server? > > > >> On Sep 30, 11:02 am, Greg Donald <gdon...@gmail.com> wrote: > > > >>> On Wed, Sep 30, 2009 at 11:00 AM, Eric Gruber > > >>> <e...@rumblestrut.com> wrote: > > >>>> <%= render :partial => 'http://example.com/navigation.html'%> > > > >>> The partial file should be local to the Rails app. > > > >>> -- > > >>> Greg Donaldhttp://destiney.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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---