Hi everyone Is there any method in RoR to extract the SQL query from model class and display it in the browser... Any help would be appreciated... Thanks Anandh
you can see the queries in the development logs
Anandh Kumar wrote:> Hi everyone > > Is there any method in RoR to extract the SQL query from model > class and display it in the browser... Any help would be > appreciated...There is a plugin that does this, but I can''t remember what it''s called.> > > Thanks > > AnandhBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Thanks samer. Yeah i see it in th development logs. But for some purpose i want those queries to get displayed in the browser. Is there any way. Thanks Anandh On Aug 18, 12:44 am, Samer Abukhait <abukh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> you can see the queries in the development logs