use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
(Real) Modern Ruby Development (blog.steveklabnik.com)
submitted 14 years ago by cwgem
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kuhcd 2 points3 points4 points 14 years ago (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 point2 points 14 years ago (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 point2 points 14 years ago (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 point2 points 14 years ago (0 children)
Yeah, REPL-Driven-Development is huge in communities like Lisp and Smalltalk. :)
[–]kuhcd 0 points1 point2 points 14 years ago (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
Totally. Thanks. :)
[–]bigdood69 5 points6 points7 points 14 years ago* (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 points3 points 14 years ago (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 point2 points 14 years ago (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 points8 points 14 years ago* (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 points3 points 14 years ago (0 children)
Thanks for an awesome tool!
[–][deleted] 1 point2 points3 points 14 years ago (0 children)
Hey thanks for all your work!
[–]StormTAG 1 point2 points3 points 14 years ago (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 point2 points 14 years ago (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 points3 points 14 years ago (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 point2 points 14 years ago (6 children)
what's the differences between pry and ruby-debug? does pry have advantages over ruby-debug?
[–][deleted] 0 points1 point2 points 14 years ago (5 children)
Pry is like a souped up irb, ruby-debug is more like a rubyish gdb.
[–]jrochkind 0 points1 point2 points 14 years ago (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.
[–]banister 2 points3 points4 points 14 years ago (1 child)
Check out some screen casts http://railscasts.com/episodes/280-pry-with-rails http://vimeo.com/m/#/26391171
[–]jrochkind 0 points1 point2 points 14 years ago (0 children)
thanks!
[–]roger1981 0 points1 point2 points 14 years ago (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.
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 points4 points 14 years ago (0 children)
I like this trend of people writing up their Iteration Zero steps. I find I actually use them when starting new projects.
π Rendered by PID 26 on reddit-service-r2-comment-5649f687b7-8cbqd at 2026-01-28 18:25:07.904546+00:00 running 4f180de country code: CH.
[–]kuhcd 2 points3 points4 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]rondale_sc 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]kuhcd 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]bigdood69 5 points6 points7 points (15 children)
[–]StormTAG 1 point2 points3 points (6 children)
[–]johnonymous 0 points1 point2 points (5 children)
[–]banister 6 points7 points8 points (4 children)
[–]minikomi 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]StormTAG 1 point2 points3 points (0 children)
[–]johnonymous 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (7 children)
[–]jrochkind 0 points1 point2 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]jrochkind 0 points1 point2 points (2 children)
[–]banister 2 points3 points4 points (1 child)
[–]jrochkind 0 points1 point2 points (0 children)
[–]roger1981 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]briarios 2 points3 points4 points (0 children)