Blog posts in September 2008

Back in NZ

It's good to be home. Shop-front guy with microphone on Willis St:
“come in and get some great sunglasses and pay bugger all…”

Permalink

Demon cat

Sarah sends this somewhat cute but oddly unsettling cat video:

More

Diggers and bobcats

Turns out that Anne Troake's Pretty Big Dig – essentially dancing excavators (the bit where they touch hands and spin is pretty impressive) is just the tip of the iceberg.

More

Socotra Island

Check out these amazing pictures from Socotra, a small archipelago in the Indian Ocean off Africa. Apparently more than a third of the surveyed plants found there are found nowhere else.

Permalink

Rails 2.1 eager loading conditions hash bugfix

I've created Rails lighthouse ticket #1101 for a blatant 2.1.x bug breaking :including of associations that have :conditions hashes.

More

Rails 2.1 eager loading conditions hash bugfix

I've created Rails lighthouse ticket #1101 for a blatant 2.1.x bug breaking :including of associations that have :conditions hashes. My patch is on the ticket. Remember to +1 it so it gets merged.

Permalink

1% of adults incarcerated in the United States

While researching the numbers on the current recession in America I ran into this disturbing Pew Centre report from earlier in the year putting the number of people incarcerated in the United States at the start of the year to more than 2.3 million – over 1% of the total US adult population.

More

Rails 2.1 eager loading doubleup bug

I've created Rails lighthouse ticket #1110 for another bug in the new 2.1.x association preloading code that was causing some has_manys to get loaded with two copies of each record in the collection (and less seriously, double SQL loads of all types of collections).

More

Rails 2.1 eager loading doubleup bug

I've created Rails lighthouse ticket #1110 for another bug in the new 2.1.x association preloading code that was causing some has_manys to get loaded with two copies of each record in the collection (and less seriously, double SQL loads of all types of collections). The problem turned out to be triggered by associations that have :includes defined on them themselves when the :includes are also supplied in the find call. My patch is on the ticket. +1s welcome :).

Permalink