Archive for December, 2007

Facebook API Wins API of the Year

If you’ve never heard of Programmable Web then I suggest you take a look. Its a huge directory of all the major APIs on the web open for development. They’ve decided to award the Best API of the Year to the Facebook site. It won based on its openness, audience, money-making potential, viral features, modularity [...]

The :dependent option expects either :destroy, :delete_all, or :nullify

For anyone else suffering this issue in their Rails app lately since the upgrade I’ve traced it to a deprecation in “acts_as_rateable” and “acts_as_taggable” which both use the value “true” for the dependent parameter instead of one of those listed. The simple ‘hack’ to fix this is to replace “true” with “:destroy”. You’ll find the [...]

TextMate-like Vim Plugin

After the gushing praise I keep hearing about TextMate I installed a plugin for Vim which aims to give some of the benifits – though I’m yet to be convinced of its merits*. Today when I was looking for extra bundles for the SnippetsEmu plugin (by far the most comprehensive) I came across a brand-new [...]