Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Small plates of gourmet Ruby code.
Watch me build an app from scratch.
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
The definitive guide to exceptions and failure handling in Ruby.
Monthly Archives: January 2011
Trying something new today. A linkdump from the past couple of weeks, with a little help from Diigo. A piece with a lot of screenshots about the close tab behaviour in Google Chrome | The Invisible When UX works this … Continue reading
While it seems that Scrum and Lean are getting all the buzz in agile software development these days, why on earth would I want to pick up a book on Extreme Programming that has been written back in 1999? Well, … Continue reading
The programmer has a fixed amount of time and concentration that he can give every day. He must give a bigger piece of the pie to the bad technologies, simply because they require more. In other words, he ends up spending most … Continue reading
The semantics of method calls in Ruby are simple: Call the named method; or If no method exists, call #method_missing() instead. Normally #send() obeys these rules as well. ActiveRecord association proxies mangle #send()‘s semantics, however, violating the POLS and potentially … Continue reading
Those who read me regularly probably know that my other passion, apart from writing great code, is building strong geographically dispersed teams. Well, today I’m very happy to announce that I’m going to be speaking on that topic at the … Continue reading
So I was messing around with some scratchpad code today, investigating the use of with_exclusive_scope, and here’s what I had to write to come up with a minimal working ActiveRecord model: require ‘rubygems’ require ‘active_record’ ActiveRecord::Base.establish_connection( :adapter => “sqlite3″, :database … Continue reading
It’s quite easy to get caught up in the technique of TDD and not pay attention to the way unit tests are written: their naming, how maintainable or readable they are, and whether they test the right things or might … Continue reading
Dan North, apparently irritated that no one showed him the secret programmer handshake, has constructed a (very neatly crafted) wall of words. He hits all the Serious Programming Thinkiness bullet points – talk about artists, talk about martial arts, talk … Continue reading
A little something for Giles et. al. who feel that private has no business in the Ruby language… # Privacy? We don’t need no stinkin’ privacy! module TSA def private # NOOP end def protected # NOOP end end class … Continue reading