Skip to content

Instantly share code, notes, and snippets.

@adambair
Created October 19, 2011 20:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adambair/1299611 to your computer and use it in GitHub Desktop.
Save adambair/1299611 to your computer and use it in GitHub Desktop.
pry is awesome.
# use instead of rails console
pry -r ./config/environment.rb
# for debugging in code put this anywhere:
binding.pry
# then check your console (rails server window) and type:
help
# win
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment