/ #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. ...

Jens-Christian Fischer
/ #blog 

Forward to the past

This post is a follow up and an expansion to my presentation at rails-konferenz.de on the topic of “offline Rails applications”. If you are not interested in lessons from history, technical details about replication etc. feel free to skip this… The rage these days is twofold: The “Rich Internet Application” (RIA) and the ability to go off-line. There are a number of ways coming up, that promise you, that you can take (rich) web applications offline. ...

Jens-Christian Fischer