small medium large xlarge

Generic-user-small
06 Nov 2009, 16:57
mondher gatri (1 post)

Dear all, Thanks for this relevant book, I actually using the recipe #11 (analyzing SQL queries). My goal is to save the queries done during one action (in my project I call it report it is to generate statistical report) but I would like that user save also all queries done during that action. Also, my tool should be useful on “production” env. To do that, I added this line “ActiveRecord::Base.logger.level = Logger::DEBUG” to my “environment.rb” file, so I get queries during production but all queries are saved and there is no specific set of queries for each user. So, I m blocked with that. Could some one helps? Thanks a lot Mondher Gatri

You must be logged in to comment