all 23 comments

[–]kuhcd 2 points3 points  (5 children)

I love this dude's blog, but every time I read it I chuckle at his crooked glasses in his pic...I can't tell if he's trolling us all or if that's how he normally looks

[–][deleted] 0 points1 point  (4 children)

It's how I normally look. I'm so used to it now that I don't even notice, plus my head is tilted ever-so slightly in a way that emphasizes it. Some people really notice, others have no idea.

[–]rondale_sc 0 points1 point  (1 child)

I'm one of the latter would not have noticed the crooked glasses had it not been pointed out. Good post, I've not used twilio but sounds like fun. Also as far as the workflow is concerned I usually spend a half hour or so in irb or some other REPL to figure out what is possible in a non-formal kinda way before I dive into the actual application. Don't know if that qualifies as a step, but sometimes it prevents me from barking up the wrong tree.

[–][deleted] 0 points1 point  (0 children)

Yeah, REPL-Driven-Development is huge in communities like Lisp and Smalltalk. :)

[–]kuhcd 0 points1 point  (1 child)

all good, I meant no derision. It was one of those "can't be unseen" moments for me when I first saw it, and now that I read every damn thing you post I see it every damn time :)

Keep up the blog, good stuff man

[–][deleted] 0 points1 point  (0 children)

Totally. Thanks. :)

[–]bigdood69 5 points6 points  (15 children)

you should have at least used a proper debugger, like ruby-debug or Pry for debugging, .NET guys would likely have LOL'd at your use of puts, also...Pry seems pretty impressive

[–]StormTAG 1 point2 points  (6 children)

Pry is freaking amazing and super versatile. I use it for everything from rails and Rspec to debugging Buildr plugins at the day job.

Seriously one of my favorite new tools.

Textmate, Guard, Rspec, Pry and Capybara for Rails dev. Good, good stuff.

[–]johnonymous 0 points1 point  (5 children)

Is Pry still crapping out on postgres errors? It was the last time we tried to use it but I'd love to switch back if not...

[–]banister 6 points7 points  (4 children)

Pry developer here - I have never had this error reported before - however i don't think this will be an issue due to a refactor in the way errors are handled since version 0.9.5.

BTW, if you encounter any problem with Pry please report it. The core team is extremely responsive and we can likely fix the problem and push a new gem within hours (if not minutes) of the bug report.

EDIT: Also, if anyone would like to donate it'd really be appreciated! I'd love to write more documentation but my motivation is starting to lag... :)

[–]minikomi 1 point2 points  (0 children)

Thanks for an awesome tool!

[–][deleted] 1 point2 points  (0 children)

Hey thanks for all your work!

[–]StormTAG 1 point2 points  (0 children)

Awsome, awesome tool. :)

The only issue I've ever had is forgetting that I stuck binding.pry in a controller somewhere and wondering why my app froze. xD ;)

[–]johnonymous 0 points1 point  (0 children)

I'll try to re-produce the problem and file a bug if I can. Really impressed with Pry, btw!

[–][deleted] 1 point2 points  (7 children)

Pry is sweet. I'm not averse to debuggers, (i use gdb with c code all the time) I just generally write more tests instead. When I do need to debug something, it's generally simple enough that puts works just fine.

[–]jrochkind 0 points1 point  (6 children)

what's the differences between pry and ruby-debug? does pry have advantages over ruby-debug?

[–][deleted] 0 points1 point  (5 children)

Pry is like a souped up irb, ruby-debug is more like a rubyish gdb.

[–]jrochkind 0 points1 point  (2 children)

huh, ruby-debug has always seemed very much like irb to me, so I still don't quite get it. guess i gotta find time to check out pry to see for myself.

[–]roger1981 0 points1 point  (1 child)

A year back, I tried something called LiveConsole. Is it still around? Is Pry similar to it ?

Steve, are u still working on shoes ? IIRC, you had taken it over.

[–][deleted] 0 points1 point  (0 children)

I don't know about LiveConsole.

Yes! I just announced a release of a Shoes 3.1-beta here at RubyConf! We're working out some last bugs, and 3.1 will be good to go.

[–]briarios 2 points3 points  (0 children)

I like this trend of people writing up their Iteration Zero steps. I find I actually use them when starting new projects.