Archive for the ‘ruby and rails’ Category

Preview talk done!

Wednesday, April 16th, 2008

Been a little quiet around here lately; that's in large part due to Morgan, but it's also been a busy few weeks Rails-wise. Besides finishing up the book, I've also been wrapping up the first draft of my Railsconf talk on REST - which I gave last night at Raleigh.rb. ...

Railsconf’s coming

Tuesday, April 8th, 2008

And the session schedule has been posted. Looks like some really good talks this year - and it also appears that my talk is up against Scaling Rails on Saturday. Well, maybe the Rails Envy guys might drop by my session, since they already know Rails can't scale. Oh, and in ...

A little less lazy for me, a little more for you

Saturday, March 29th, 2008

What with the new baby and all, finding time for coding has been a little tricky. Nevertheless, I have eked out a few moments here and there to continue working on laziness (which Matz mentioned on his blog!). The first version of the plugin is cool, but the tests it ...

And the greatest of these is laziness

Wednesday, March 19th, 2008

The three virtues of excellent programmers are well-known - laziness, impatience, and hubris. Last night, I had an epiphany related to the first of these... and thus was born the laziness plugin. You know how, when you find a bug in your app, you're supposed to write a failing test before ...

The dreaded :false

Friday, March 14th, 2008

If you use the restful_authentication plugin, you've probably run up against :false. If not, let me explain: Restful_authentication provides a method called current_user. If someone's logged in, the method returns his or her User object. If no one is logged in, though, current_user returns :false. This is (for me, at least) ...