Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get SQL debug info in production Rails console
Rails.configuration.log_level = :info
ActiveRecord::Base.logger = Logger.new(STDOUT)
# run your code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.