Skip to content

Instantly share code, notes, and snippets.

@tinderfields
Created September 9, 2010 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tinderfields/572151 to your computer and use it in GitHub Desktop.
Save tinderfields/572151 to your computer and use it in GitHub Desktop.
Setup rails console logging
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.clear_active_connections!
@tinderfields
Copy link
Author

Not sure if this works in production

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