Is there a way to see all generated queries from rails in production environment like you can in development?
+1
A:
Yes you can. If you go in the config/environments/production.rb file, there's a section like this:
# See everything in the log (default is :info)
# config.log_level = :debug
Uncomment the config.log_level line, and you'll get the same log in production as you would in dev.
pushmatrix
2010-10-04 04:54:02
not sure how I missed that
tybro0103
2010-10-06 19:28:51