ruby

alberto
2009-05-01 01:00

It’s been a year or two since we have been using cruisecontrol.rb as a continuous integration server for our rails projects. We have also been using capistrano for some time to deploy our applications.

Lately i had been wanting to take it one step further and set up continuous deployment so i started looking for a ccrb plugin which supported deploying projects on successful...

alberto
2009-03-13 01:00

EuRuko is the annual European Ruby conference. This year will be happening on the 9th and 10th of May 2009 at Citilab in Barcelona, Spain. I will be attending so if you see me around say hi!

 

alberto
2008-10-04 01:00

1. Each controller action only calls one model method other than an initial find or new. (Make custom .new or .update methods in the model with all necessary). …

2. Only one or two instance variables are shared between each controller and view. …

3. All model and variable names are both immediately obvious (to a new developer) and as short as possible without using abbreviations. …

4. All custom “finds” accessed from more than one place in the code use named_scope...

root
2008-07-03 01:00

Some days ago the Ruby team disclosed some serious Ruby security vulnerabilities and published the corresponding patches for Ruby. Being debian our current deployment platform of course there was no official update available so i decided to compile ruby using the suggested patch version (in my case ruby 1.8.5-p231).

After compiling ruby and installing all the gems i was very...