Dentaku – a calculator for Ruby
Making CRUD less “Cruddy”, one step at a time
Making CRUD less “Cruddy”, one step at a time
Making CRUD less "Cruddy", one step at a time
One of the great “new” features of Rails (as of 2.3) is accepts_nested_attributes_for, allowing you to build cross-model CRUD forms without “cruddying” your controller. There are some great examples out there about how to do this, but I’d like to walk thorough a particular use case—managing the “join” records in a...
Cucumber, meet Routes
I’ve been loving Rails BDD with Cucumber for the past year or so—it helps me focus on the next required step to build a feature in my application, and better focus equals better development velocity. However, one thing I found tedious in starting with Cucumber was defining route matchers in paths.rb.
The stock path_to method...
Import your MacHeist serials to AppShelf
If you have purchased the latest MacHeist nano bundle, you might have noticed that there is no option this time to export as an AppShelf file. I felt a little guilty spamming my twitter followers to get my three free bonus apps (Airburst Extreme, Tracks, and Burning Monkey Solitaire), so to atone, I’m sharing...
RMagick (from source) on Snow Leopard
After the release of 10.5, I published an article about building RMagick from source on Leopard. I won’t rehash the why, you can read the original article for that. My clean install necessitated updating the RMagick script, so here’s what worked for me to install from source on Snow Leopard! For...
Introducing Hashdown
If your database is normalized, you will almost always end up with small tables (often referred to as reference data or lookup tables) which provide a set of possible values for a particular attribute. (e.g. Currency, Category, etc.) A common pattern that emerges in many applications is accessing these records by a symbolic...
RailsConf 2009 Day Two
Day Two got off to a good start. Engine Yard did a promotional pitch—the speakers could have been a bit more polished, but it was interesting stuff about their one-button-deployment, and overall not bad for an advertisement.
Next up was Chris Wanstrath. He started with a lead in regarding how to become a famous...
RailsConf 2009 Day One
I’ve just finished my first day of RailsConf 09. Things have gotten started well—I’ve met several interesting people, found some interesting people to follow on twitter. I’ll try to post as much as I can in the way of reviews for those of you attending by blog.
Starting with the DHH Keynote. ...

