Skip to content

Recent Articles

5
Sep

Rails country select plugin

This is just another post about a a component I found myself needing for GameGrid. I needed an easy way of enabling users to specify their countries, but whilst Rails provides helpers for just about every other form element, it failed me here. The source is on GitHub, if you’re interested. The data is sourced from ISO-3166, just that it all comes from Wikipedia since the standards body are a bit…difficult. Read moreRead more

21
Aug
Trainwreck

Rails 3.0, select tags and field_with_errors

When doing my thing with GameGrid today, I decided to place emphasis on fields in forms which needed user attention. I ran into a shortcoming in the way Rails’s form helpers treat <select> tags, though. I propose a workaround here. Read moreRead more

25
Jul
Code icon

LightBulb – a WIP release is now out on GitHub

This is a really quick post, mostly because it’s 1AM and I desperately need some sleep. If you’re not interested in a simpler way to rebuild your web server stack (Apache, nginx, lighttpd, MySQL, PostgreSQL, PHP, Ruby, Mono, etc.), you can skip over this one :) Read moreRead more