Pages
Categories
Archives
- February 2012
- January 2012
- December 2011
- November 2011
- November 2010
- March 2010
- January 2010
- December 2009
- November 2009
- August 2009
- July 2009
- June 2009
- February 2009
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- November 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
Category Archives: Rails
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 [...]
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 [...]
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 [...]
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 [...]
It’s a brand new blog(s)!