Debugin DB access

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?

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.


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

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