🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.ruby
2 messages
2 total messages Started by edek Thu, 03 Apr 2008 11:27
[RoR] logowanie wyniku funkcji render
#1029
Author: edek
Date: Thu, 03 Apr 2008 11:27
10 lines
973 bytes
hej,

czy jest jakiś sposób by railsy logowały wszystko co jest generowane 
przez funkcję render?

robię kontroler webdav, tym samym nie korzystam z firefoxa a narzędzi 
systemowych i szukam najprostszego sposobu by podsniffować co jest 
transmitowane

m.
Re: [RoR] logowanie wyniku funkcji render
#1030
Author: Radosław Bułat
Date: Thu, 03 Apr 2008 15:21
17 lines
1331 bytes
edek pisze:
> hej,
> 
> czy jest jakiś sposób by railsy logowały wszystko co jest generowane 
> przez funkcję render?
> 
> robię kontroler webdav, tym samym nie korzystam z firefoxa a narzędzi 
> systemowych i szukam najprostszego sposobu by podsniffować co jest 
> transmitowane
> 
> m.
Sprawdź metodę render_to_string, która działa tak jak render, ale wynik 
jest zwracany jako string, a nie do clienta.

-- 
Radosław Bułat
http://radarek.jogger.pl - mój blog
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads