[Rails] Re: How to show time, which your plugin spent in rails server log

2011-04-21 Thread Frederick Cheung
On Apr 21, 9:37 am, sadgb wrote: > looked up, but no result... maybe you got some sample ? > That is the sample - if you look at that file it points you at the bit of activerecord which hooks into that. You should be able to mimic that. Fred > On 21 апр, 01:24, Frederick Cheung wrote: > > > >

[Rails] Re: How to show time, which your plugin spent in rails server log

2011-04-21 Thread sadgb
looked up, but no result... maybe you got some sample ? On 21 апр, 01:24, Frederick Cheung wrote: > On Apr 20, 5:44 pm, sadgb разумовский wrote: > > > Hi. > > Sorry for my terrible english. > > When user makes request to your server in log you could see smth like > > > Completed 200 in 134 ms (V

[Rails] Re: How to show time, which your plugin spent in rails server log

2011-04-20 Thread Frederick Cheung
On Apr 20, 5:44 pm, sadgb разумовский wrote: > Hi. > Sorry for my terrible english. > When user makes request to your server in log you could see smth like > > Completed 200 in 134 ms (Views: 12 ms ; ActiveRecord 1ms; Sphinx 0ms) > I want my plugin to show information in this line, such Sphinx a