When I'm looking at the views rendered by ror framework, everything gets logged on the console, but when the ajax call is made to my server by some action user performed on the page, I don't get that part logged, I can't see the SQL executed in the console, and it's difficult to debug issues.
What can I do to turn on the logging for ajax requests as well?