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

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