Debugin DB access

J. mp wrote:

How could i know that my application is accessing to DB?
I need a way to monitor the access to the DB in my Rails app, how?

tail -f log/development.log

ActiveRecord typically spews all its transactions into that file.