Skip to content

Instantly share code, notes, and snippets.

@danielpietzsch
Created August 6, 2013 11:09
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 danielpietzsch/6163610 to your computer and use it in GitHub Desktop.
Save danielpietzsch/6163610 to your computer and use it in GitHub Desktop.
Tail a (Rails) log file for DB updates
tail -f log/development.log |grep 'INSERT INTO\|UPDATE\|DELETE FROM'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment