Category Archives: Ruby

Ruby reflection ‘requires’ a lot

I’m been doing some work in Ruby to build a parser framework and I wanted to have pluggable parsers from the command line. I figured this would be simple because in Java it actually is pretty simple, as long as … Continue reading

Posted in Java, Ruby | 4 Comments

FCGID timeout causing Rails 500 errors

The default timeout for FCGID is pretty low I think (maybe 5-10 seconds). This was causing me SO much grief that I was just about to lose it. I found these posts out there that helped a lot: http://wiki.rubyonrails.org/rails/pages/Debian+mod_fastcgi+Notes http://weblog.rubyonrails.com/2005/01/03/watch-for-huge-requests-on-default-fcgi … Continue reading

Posted in Rails, Tech | 3 Comments

Eeck more Ruby parser crapola!

Oh my god! This one pass Ruby parser is really annoying. Here’s todays example that doesn’t compile: DICTIONARY = create_dictionary def MyClass.create_dictionary … end Yep, you got it, this blows up with a nice error message stating that the variable … Continue reading

Posted in Ruby | 4 Comments

RoR plugin woes

I’m been doing a lot of work with RoR plugins trying to make things generic. The RoR plugin mechanism is just plain horrible. Plugins do not work like most ruby classes because they are loaded in a slightly convoluted way … Continue reading

Posted in Rails, Ruby | 1 Comment

Ruby Locale 0.1

I wanted a ruby version of the Java Locale object and couldn’t find one, so i created a project for it. Here’s the address: http://rubyforge.org/projects/locale/ It is pretty minimal, but it does contain all the current ISO country and language … Continue reading

Posted in Rails, Ruby | 3 Comments