Blogs

Ket Lai's founder James Stewart blogs on all things web-related over at jystewart.net. Below is his latest blog entry, and you can see any entries related to a given project on its project page. As time goes on we will be bringing in relevant entries from our collaborators.

We're strong believers in transparency, and in returning knowledge to the wider web community so we often blog about the knowledge we've gathered, and contribute code to the community in open source form. Not only does it seem the right thing to do, it's also been a great source of new work!

I18n and "undefined method each for false:FalseClass" Tuesday 27 July 2010

I've never really had much need for Rails' i18n support, but a new project is going to be using it extensively. I was a bit thrown by an error that started to be thrown after I created the relevant locale files, and took a while to track it down (possibly because I was also upgrading to the Rails 3 RC at the same time).

It turns out Rails really doesn't like empty locale files. Adding a couple of translations into my empty files solved everything.

Seemed worth sharing as it took me a while to track down comparable experiences online.