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 [...]
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 [...]
Here is a demonstration of Postcode geocoding. It is a Ruby on Rails app that shows a Google map in one iframe and an (Active Scaffold) list of places in another. I have altered the Active Scaffold plugin so that when a postcode is edited, a request is sent to [...]
England and Wales are divided into about 7000 Middle Level Super Output Areas that are used for statistical purposes. For instance the Indices of Deprivation were collected for SOAs.
I have found a way to quickly produce thematic Google Maps for SOA data. The finished maps could then be copied to another web [...]
Here is the current state of play of a trial site to produce thematic maps on the fly using Google Maps, Ruby on Rails and Java. A long list of tasks need to be completed before its useful, not least fixing the way the map tiles look under IE (try Firefox - it handles PNG files [...]
I have a cunning plan, to write a web application that automatically generates a Google map showing thematic data from an ESRI shape file. On a previous contract for Leicester County Council I used MapInfo’s MapXtreme for Java to render raster maps for each request, but found that it can often take up to 20 [...]