Using the government’s Open Data, and the constituency boundaries provided by MapIt, I’ve been analysing the distribution of fuel poverty in England (since this seems to be on all the party’s agendas nowadays).
For reasons which I will not go into for fear of boring everyone, we were trying to forward local requests on port 80 to port 3000 (running a Rails app), without booting the Rails app on port 80, and without having a web server in the middle to do the redirection.
Wtih the recent release of Rails 3.2, we have been trying to upgrade all our engines at Sage to use Rails 3.2. Everything works great, except scaffolding.
In previous versions of rails, you could do MyController.filter_chain to get an object representing the filters on a controller.
Who wants to type “bundle install” all the time? Not me, that’s who!
Here’s another little trick in CakePHP — it’s quite often that someone will request a big old list of paginated data, along with filters on that data.