Category Archives: Rails

An evening with Jason Fried from 37 Signals

I went to the 37 Signals event last night sponsored by CPB. The speaker was Jason Fried, who is a founder of the company, a designer and all around smart guy. Jason spoke mainly about small business. He presented a … Continue reading

Posted in Engineering, Inversoft, Life, Rails, Tech | Tagged , , , , | Leave a comment

Do we really need code reloading?

With Grails, Rails, Python, etc offering developers the chance to change code, hit refresh and see the changes I often wonder if reload truly a feature that is a must have these days? It seems like it is one of … Continue reading

Posted in Engineering, JCatapult, Java, Rails, Tech | 4 Comments

Handling strange Rails URLs

Came across an interesting situation where my Rails application was going to be receiving URLs with characters like – (dash) and . (period or dot). Something like this: http://example.com/my_controller/action-with-odd.characters Ruby doesn’t allow dashes or periods in identifiers, so this was … Continue reading

Posted in Rails, Ruby | 2 Comments

Handling Rails 404 and 500 errors

I spent a couple of hours trying to figure out how to handle 404 and 500 errors in Rails. This is not simple and actually really annoying. Hopefully future versions clean this up because right now it sucks pretty badly. … Continue reading

Posted in Rails, Ruby | 7 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