[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Problem with Rails and embedded SVG?

Williams, Chris

12/2/2004 6:52:00 PM


> does your rails run on localhost ?

Yes it does.

> Maybe its a permission problem and IE only shows the SVG in its
> trusted localhost domain.

Well every way I'm accessing it, it's on my localhost. I tried lowering
security all the way, and it still doesn't work.

> In any case, rails magic stops after sending data to the browser. This
> basically cannot be a rails problem.

Rails is reporting it has finished in the production.log to tell me its
done. So I suppose you are right.

However, I am only seeing this if I run an .rhtml through the rails
controller. If I have apache serve up the .rhtml with a static reference to
an SVG embedded, it works.

Is it just running really, really slowly through the controller so that the
SVG never draws before I get too impatient (we're taking a number of minutes
here).

Thanks,
Chris


1 Answer

Tobias Luetke

12/2/2004 7:14:00 PM

0

try to put the working html in your public dir and request it directly
( or in some other way try to request it over tcp from localhost as
opposite to opening it directly with a file:// moniker.


On Fri, 3 Dec 2004 03:52:01 +0900, Williams, Chris
<cawilliams@crt.xerox.com> wrote:
>
> > does your rails run on localhost ?
>
> Yes it does.
>
> > Maybe its a permission problem and IE only shows the SVG in its
> > trusted localhost domain.
>
> Well every way I'm accessing it, it's on my localhost. I tried lowering
> security all the way, and it still doesn't work.
>
> > In any case, rails magic stops after sending data to the browser. This
> > basically cannot be a rails problem.
>
> Rails is reporting it has finished in the production.log to tell me its
> done. So I suppose you are right.
>
> However, I am only seeing this if I run an .rhtml through the rails
> controller. If I have apache serve up the .rhtml with a static reference to
> an SVG embedded, it works.
>
> Is it just running really, really slowly through the controller so that the
> SVG never draws before I get too impatient (we're taking a number of minutes
> here).
>
> Thanks,
> Chris
>
>


--
Tobi
http://blog.le...