Monthly Archives: March 2008

Easier solution for using BetterNestedSet

More tinkering with BetterNestedSet, and I think I’ve got the solution nailed: First of all, use redundant columns to store the parent id. One is for your application to access, the other is for BetterNestedSet to handle – I called mine :parent_id and :bns_parent_id. You can tell BNS to use a nonstandard parent column like [...]

Posted in Projects, Ruby | Tagged , , | Leave a comment

Rant: BetterNestedSet (than a nail in your skull)

I’ve been tinkering around with ApeDoctor, my to-be API documentation application running on Rails. The core class of ApeDoctor is the Amodule, a representation of a Ruby module/class. (It’s Amodule because the class name Module was taken, of course!) And since Ruby modules can have other modules or classes under them, I had a hierarchy/tree/nested [...]

Posted in Projects, Ruby | Tagged , , , | Leave a comment

Music Toy Idea

I had an interesting idea for a musical sound-generation toy, inspired by Electroplankton. The gist of it is that there is a ”sea anemone” on the screen with 5 or so tendrils; at the end of each tendril is a loop that you can grab and pull with the mouse. Each tendril makes a unique [...]

Posted in Ambienome, Ruby | Tagged , , , | Leave a comment