Rails: Undefined class/module error: solved?


over 11 years ago by Ian Blenke on Ian C. Blenke.
The Problem We have been getting a "undefined class/module" error on 2 of our 6 app servers in one testbed. Same sourcecode, same installs (systemimager...

Implementing memcache with Rails and Lighttpd


over 11 years ago by Ian Blenke on Ian C. Blenke.
While deploying a new Ruby on Rails based webapp to development/QA/production clusters, I found a novel way to differentiate the environments without modifying...

Apache 2.2 and mod_auth_remote


over 11 years ago by Ian Blenke on Ian C. Blenke.
While playing with mod_auth_remote, it became apparent that libapr1's changes have slightly broken it. There were two errors during compilation: $ /usr...

Repairing a corrupt FSFS repository


over 11 years ago by Ian Blenke on Ian C. Blenke.
Subversion is a wonderful revision control system, until it breaks. Historically, the BDB store was often corrupted and a "svnadmin recover" is required...

Ian's Operational Rules


over 11 years ago by Ian Blenke on Ian C. Blenke.
We've taken to writing rules on our whiteboards. Today I was driven to write the following on my whiteboard: Ian's Operational Rules No whining OwnUnderst...

pgbench and pgcluster: gotchas, 1.5.0rc7 deadlocks, pglb connection overflow, and rails


over 11 years ago by Ian Blenke on Ian C. Blenke.
The following is a post I've just made to the pgcluster-general mailing list. As it is blog worthy, it seemed appropriate to post here. I've been testing...

ActiveSalesForce YAML Dump


over 11 years ago by Ian Blenke on Ian C. Blenke.
Starting down the ActiveSalesforce path, my first goal was to do a simple dump of a class of objects to yaml using the API. $ gem install activesalesforce...

Running Ruby on Rails on OS X with Mongrel and MySQL


over 11 years ago by Paul Sturgess on paulsturgess.co.uk articles.
This is not so much an installation guide, but some general notes regarding how I went about getting Ruby on Rails running on Mac OS X 10.4 (Tiger) from...

Debugging tips in Ruby on Rails


over 11 years ago by Paul Sturgess on paulsturgess.co.uk articles.
There are quite a few different ways to go about analysing application errors in Ruby on Rails. I know when I first started out I found the error messages...

Select and collect with conditions in Ruby on Rails


over 11 years ago by Paul Sturgess on paulsturgess.co.uk articles.
I really needed an option collection for a select box with confitions. In my case it needed to list vacancies people could apply for, but only if the vacancy...