Archive for the ‘ruby and rails’ Category
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. ...
Posted in rest, ruby and rails | No Comments »
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 ...
Posted in conferences, ruby and rails | 5 Comments »
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 ...
Posted in ruby and rails | No Comments »
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 ...
Posted in ruby and rails, testing | 10 Comments »
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) ...
Posted in ruby and rails | 5 Comments »