December 2009
9 posts
The meaning of open →
Rails STI
I recently started using Single Table Inheritance in a Rails project. It works pretty well for the most part, until you start trying to reference the type attribute in the parent class.
>> o.type
warning: Object#type is deprecated; use Object#class
This will probably cause you all type of madness until you track it down.
You can work around by calling o[‘type’] or o[:type]...
The End of Chiropractic →
Sprint fed customer GPS data to cops over 8... →
Scientists Create Artificial Meat →
djmount is cool
/me swoons
# apt-get install djmount
# djmount -o allow_other /mnt/upnp/
$ vlc /mnt/upnp/PlayOn (carmen)/Hulu/TV Episodes/A/Arrested Development/s1e02: Top Banana.mpg
awesome!