AV-Looks
Watching and Wondering

Instiki and Ruby 1.8.4

Posted by Andrew Tue, 25 Jul 2006 23:31:00 GMT

AVLUX has attempted a few times to upgrade Ruby from 1.8.2 to 1.8.4, but each time has found that 1.8.4 broke Instiki

But now with the advent of Mongrel, which only runs under Ruby 1.8.4, along with compelling discussions like this, the issue with Instiki has moved from the back burner to the front burner.

With a little careful googling, we found the answer here. As it turns out, it is actually an incompatiblity between Ruby 1.8.4 and Rails 0.13.1, which Instiki requires. One line of code in active_support/clean_logger.rb solves the problem:
##  Fix for Instiki on Ruby 1.8.4 per http://dev.instiki.org/ticket/277
##  remove_const "Format" 
    remove_const "Format" if const_defined? "Format" 

AVLUX has completed this change and upgraded to Ruby 1.8.4 on all servers. Stay tuned for more on Mongrel…

Posted in ,  | Tags , , ,  | no comments

New Ruby for Rails book

Posted by Andrew Tue, 18 Apr 2006 07:26:00 GMT

Ruby for Rails by David Black is being very well received thus far. It is available now in PDF, and will be in paper in the beginning of May. You can view the Table of Contents online, as well as 2 sample chapters.

If someone can venture a guess as to why the cover features a bearded guy in his bathrobe, impersonating a mushroom, please let us know.

Posted in  | Tags , , ,  | no comments | no trackbacks

An insomniac's history of programming languages

Posted by Andrew Tue, 07 Mar 2006 22:46:00 GMT

A fellow developer sent me this link late last night. I confess I haven’t laughed as hard in a long time. Till I cried. After reading the first 2 or 3 sentences, I thought that this guy must have been writing on his 3rd or 4th pint in the wee hours. Whether or not he was, his diatribe is informative, insightful and at points killingly funny.

The comedy has as lot to do with hitting the mark, like David H. Hannsen did recently on his blog with this little piece of Java code whose humor is inherent:
UploadedFile uploadedFile 
    = (UploadedFile) fileUpload1.getUploadedFile();
String text = uploadedFile.getAsString();

Posted in  | Tags , , , , , , ,  | 1 comment

Where to begin in learning Ruby on Rails

Posted by Andrew Tue, 07 Mar 2006 02:04:00 GMT

I have had a number of people ask me recently about how to get started with Rails. Of course there is the Rails Book and the Pickaxe Book. But in addition to these, Digital Media Minute has compiled a helpful list of 12 tutorials which they have found to be the most useful in getting started. Beginning from the top of list, and following links according to your questions and interests should take you a long way.

Within these tutorials, you will even find discussion of RDT and RadRails , the plugins which enable you to do Rails development in widely popular open-source IDE, Eclipse.

Posted in  | Tags , , , , , ,  | no comments