Category Archives: Rails

It’s a brand new blog(s)!

You may notice that something seems different around here. Today I migrated my blog from that crusty old Typo to the shiny new Mephisto! Most things are working well, but excuse the dust. You might also notice that the Rubygame posts have vanished mysteriously! Well, in fact, they have been moved to…the new Rubygame blog! [...]
Also posted in Misc, Personal | Tagged , , , | Leave a comment

Testing the Git Waters

Apparently, Git is the new hotness, and Github is liquid hotness concentrate, with pulp. Or, so I hear. Rails monkeys seem to like it, anyway. ;) You can blame Piotr for bringing it to my attention, and then radiant-comments for giving me an excuse to dip my foot in. I did some browsing online, and [...]
Also posted in Projects, Ruby | Tagged , , , , | Leave a comment

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 [...]
Also 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 [...]
Also posted in Projects, Ruby | Tagged , , , | Leave a comment

Not cleaning up Instiki after all.

Creating a new project with Rails: fun! Cleaning up someone else’s existing, out-of-date, and not very Railsish project: not so much. Instiki is a nifty little app, and it definitely gets the “Instant” and “Wiki” parts right, but it leaves much to be desired: no proper user login/authentication, no preview on edits*, a clunky (if [...]
Also posted in Projects, Ruby | Leave a comment

Cleaning up Instiki

I’ve been cleaning up Instiki for the past couple days. Actually, I don’t want to be cleaning it up, I want to be extending it. But I figured before I extend it, I should make sure all the tests run. That way, I’ll know when I’ve broken something with my bumbling around in Rails. Instiki [...]
Also posted in Projects, Ruby | Leave a comment

Looking at Rails

I picked up “Agile Web Development with Rails” yesterday. Despite using ruby for over 3 years, I have not up until this point put any concentrated effort into learning and using Rails. I’ve been running (or rolling, as it were) through the tutorial, an online bookstore app. By and large, the impression I have so [...]
Also posted in Personal, Projects, Ruby | Tagged , , | Leave a comment