Re: mod_ruby + amrita = strange behaviour
Shugo Maeda <[email protected]> Tue, 14 Dec 2004 14:03:20 +0900
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, dodo wrote: > I'm doing a little test project. A website that lists proxies. > I use mod_ruby in combination with Amrita template parser. > The method below allows me to format my datastructure into a table: (snip) > When I run this script with the commandline ruby interpreter, its OK. > However, when I use my browser, the following thing happens: > The first time the table-size is changed (ex, proxies.slice(2, 19)). > I first get no output, then I get this output: > #<Proxy:0x8817a2c> > #<Proxy:0x88179c8> > #<Proxy:0x8817964> > #<Proxy:0x8817900> > #<Proxy:0x881789c> > ... (times 19-2) > Then another reload, and I get the right content. > This only happens when I change the slice() Can you show me a minimal script that reproduce the problem? If you can't make a minimal script, please send me your whole scripts including libraries. Shugo