Skip to content

Instantly share code, notes, and snippets.

@sharksforcheap
Created July 18, 2012 06:52
Show Gist options
  • Select an option

  • Save sharksforcheap/3134679 to your computer and use it in GitHub Desktop.

Select an option

Save sharksforcheap/3134679 to your computer and use it in GitHub Desktop.
Logger for SQL statements
require 'logger'
ActiveRecord::Base.logger = Logger.new(STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment