Android: Using Gradle

On a couple of Android projects I’m working on, I’ve switched to using the new Gradle Build system. The idea of storing the entire build configuration in one place is great. My early experience of Gradle seemed to cause more problems than it solved. However, this was probably due to lack of understanding as much as […]

Rails 3: Storing Model Metadata Attributes with ActiveRecord::Store

I recently discovered the excellent ActiveRecord store method whilst researching the best-practice for storing optional, flexible metadata against a record. store lets you keep simple key/value data into a single text column on your model. By declaring stored attributes on your model, ActiveRecord will automatically generate the appropriate setter/accessor methods, and validations work just as […]

Ubuntu 11.04 Beta – How to test Unity in VirtualBox 4

If you like to test out the latest and greatest builds of Ubuntu, you might like to try the latest 11.04 beta in VirtualBox. Unfortunately, I’ve found the standard VirtualBox guest additions don’t offer the graphics support to run compiz on Ubuntu 11.04, so testing Unity didn’t seem possible. Thankfully, I stumbled across this post […]