Late last night I found that Passenger 2.1.3 and Rails 2.3.2 don’t work if I try to use a sub URI, like www.guyroberts.co.uk/community_accounting_map where community_accounting_map is the Rails application.
Great. (The reason I am changing to Passenger in the first place is that Mongrel does not seem to be supported any more [...]
The disc on the server that hosts this web site went wrong last weekend. Happily I had backups of everything, but unhappily I’ve had to put it all back together by hand on top of a new OS image. These are the things I had to get working;
The iptables firewall
Apache
Php [...]
I’ve made a bird song quiz for the Friends of Sharphill Wood. Its funny how I know most of these songs but have no idea which birds make them. And its been relaxing to listen to the twitterings as I’ve worked.
What are they singing about ? My brother says [...]
There is a hill near here that I love to run up. Its in the Greenbelt and offers a way out of the suburbs and into the countryside. Over the last three weeks a Public Inquiry has been hearing evidence from builders who want to ‘develop’ these fields.
I spent a day building [...]
To learn a bit more about the Ruby language I’ve been doing the Ruby Quiz. Each week a bigger anorak than me sets a puzzle to be solved using Ruby. So I worked through the one about Rock Paper Scissors.
The aim is to write some Ruby that will [...]
On a recent Ruby on Rails project I needed to validate an address form so that when submitted, either the house number or the house name or both were present.
Although this post nearly did it, I had to modify Eric’s code slightly and this is the result (taken from the address.rb model file)
This [...]