Skip to content

Instantly share code, notes, and snippets.

@tinderfields
Created September 9, 2010 16:46
Show Gist options
  • Select an option

  • Save tinderfields/572151 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
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