I’d like to know how to monitor the SQL calls (from ActiveRecord) for
both
the cases:
(a) using rails console [development mode], and
(b) running rspec tests [test mode]
How can I do this? For item (a) I recollect previously I could just run
up
a “./script/server” and see this whilst using “./script/console” however
it
does not seem to be working currently for me.