Having just launched a major Ruby on Rails site, there has been a period during which we’ve had to improve performance dramatically. While most of the benefits have been had by using a custom Rails middleware class there have been a number of actions that aren’t cacheable so I’ve needed to profile the request and then optimise some internals.
Fortunately starting with Leopard, Apple has included a patched version of Ruby that has DTrace probes support.
Do you need to know how to create an X.509/SSL encrypted client socket in Ruby? I did for a client and there wasn't anything complete on the net (that Google would find), so I found out and here's how I did it.
Having been a Rails developer for a little over a year now and after completing a few Rails projects successfully, I thought I'd post a set of reasons why I think Ruby has a cleaner syntax than PHP.
The worst part of this for me is that PHP can fix a lot of these things and have a much nicer syntax but in the interests of backwards-compatibility are fairly tied to the current syntax.
After building my personal site from scratch in Symfony/PHP5 - I decided as I am leaning towards Rails now it was time to rewrite it in Rails. I had some good experiences during the process and overall I'm pleased with it. This may serve as a useful push if you're currently a PHP developer tempted by Rails.
As a contractor it is always wise to stay on top of upcoming technologies, today's niche market may be tomorrow's big earner. This year I decided to learn Ruby on Rails, so I thought I'd write a post on why I think Rails is such as excellent development system.