Skip to content

Instantly share code, notes, and snippets.

@ancap
Last active December 29, 2015 04:48
Show Gist options
  • Save ancap/7616904 to your computer and use it in GitHub Desktop.
Save ancap/7616904 to your computer and use it in GitHub Desktop.
Ruby on Rails: helpful commands

Watch logs:

tailf /home/luna/www/myapp/log/production.log
tailf /home/luna/www/myapp/log/development.log

Debug object:

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