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 <[email protected]> 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 <[email protected]> wrote:
>>
>>> On Wed, Sep 30, 2009 at 11:00 AM, Eric Gruber
>>> <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---