Skip to content

Instantly share code, notes, and snippets.

@ejoubaud
Created August 16, 2013 00:36
Show Gist options
  • Save ejoubaud/6246254 to your computer and use it in GitHub Desktop.
Save ejoubaud/6246254 to your computer and use it in GitHub Desktop.
Rails: Enable SQL logs in debugger/pry/console
ActiveRecord::Base.logger = Logger.new(STDOUT)
@jjb
Copy link

jjb commented Sep 8, 2020

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment