Skip to content

Instantly share code, notes, and snippets.

@voidius
Created December 9, 2014 10:21
Show Gist options
  • Save voidius/7bc128574357bcf545a0 to your computer and use it in GitHub Desktop.
Save voidius/7bc128574357bcf545a0 to your computer and use it in GitHub Desktop.
Enable SQL output in Rails console
ActiveRecord::Base.logger = Logger.new(STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment