I use Pry (a runtime developer console) all the time and I still learned a few tricks from this post. Here’s a doozy for working in Rails apps:
show-routes, which does what the name implies, and also takes a
-Gflag for grepping. No more starting up a new shell to execute
rake routes | grep loginand wait for it to boot up Rails just to give us the routes on the side!
This is the one and only tool that i miss when working with Elixir and Phoenix. Yes, I know there’s
IEX.pry built in, but it doesn’t offer as smooth a workflow as Ruby’s pry. Maybe someday…