hi, i''ve these two question: the first is about paginator, is good to use it or is it better something else (about performance)? the second is, because i can''t check tail -f dev.log for each page, is there any method to show how many queries a pages has done? and maybe also the loading time? help :( thanks -- Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
user wrote:> hi, i''ve these two question: > the first is about paginator, is good to use it or is it better > something else (about performance)?Pagination works fine for speeding up queries that would otherwise return lots and lots of data.> the second is, because i can''t check tail -f dev.log for each page, is > there any method to show how many queries a pages has done? and maybe > also the loading time?Nothing built into rails for this. Although you can do stuff like: http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thing -- Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Alex Wayne wrote:> Pagination works fine for speeding up queries that would otherwise > return lots and lots of data. >ok :)> Nothing built into rails for this. Although you can do stuff like: > http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thingis not possible have something write directly in the view? like: database queries: 15, loading time: 0.05432 sec also with external plugins...if exists... i tried query stats, but it doesn''t work, and i don''t know why... :( -- Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
user wrote:> Alex Wayne wrote: >> Pagination works fine for speeding up queries that would otherwise >> return lots and lots of data. >> > > ok :) > >> Nothing built into rails for this. Although you can do stuff like: >> http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thing > > is not possible have something write directly in the view? > like: database queries: 15, loading time: 0.05432 sec > also with external plugins...if exists... i tried query stats, but it > doesn''t work, and i don''t know why... :(Try this one: http://agilewebdevelopment.com/plugins/browserlogger -- Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---