Method to display sql queries

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 K. 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

Anandh

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs