/ #blog 

Workshopping

My next public speaking - or rather workshopping - event will be on 13.9.2007. CH-Open is holding their annual workshop days and I’ll be holding Workshop number 13 with the title: Ruby on Rails - Hype, “Business as usual” oder “The next big thing”? It’s going to be a one day workshop and my plan is to have the participants walk through the building of a complete (simple) web app, touching different issues (ease of development, test driven, scalability, enterprise ready) and giving them a feel for how Rails is handling those issues. ...

Jens-Christian Fischer
/ #blog 

HAML 1.7 and Gettext

If you are trying to use HAML 1.7 and Ruby Gettext, you’ll have problems extracting the string information from the HAML files. While [teamschnitzel][1] has a solution that almost works, there was a change in HAML 1.7 that will render it useless. HAML deprecated the :precompiled accessor which the GetText Parser needs. Luckily, it’s really simple to add it back to HAML: Open vendor/plugins/haml/lib/haml/haml/engine.rb and class Engine # Allow reading and writing of the options hash attr : options, true attr_reader :precompiled add the attr_reader line. Then scroll down in the file until you see the following code: ...

Jens-Christian Fischer