Selenium on Rails: extra-special testing tool

When Obie F. was in town, he ended his talk by showing a final, extra-special productivity-boosting developer tool: Selenium on Rails. As it happens, it is our own Jonas “Danger Bay” Bengtsson who created that Rails plugin, on top of the ingenious Selenium testing software. Jonas’ own screencast is a little dated, but it shows …

Io on OS X: Get a fixed libsgml

libsgml.zip is the libsgml library with a slightly modified build sequence, to accomodate the Mac OS X need for .dylib instead of .so files. I learnt a bit on making Makefile.in and configure.in do my bidding, but don’t do this with your spare time. Try and download this file instead. get the fixed libsgml, unpack …

Ruby rockstars in Copenhagen, again

Cph.rb had one more visiting rockstar. Thanks for coming, folks, and thanks for presenting, Obie! Update: Jesper‘s photos. We did the most of Kassen as an impromptu conference space. There were a large table of guys from Cph.rb, and I got to meet well-known faces, hear some rumours, yammer on about Erlang (my programming language …

Io gets Ruby-style string interpolation

This is nice for people who come to Io from Ruby: Io, the language, now has… a C implementation of interpolate (by trevor with help from jer) Just to give people a heads-up on this point. There is a slight change in behaviour. Instead of using #io{…} to interpolate your code, you now use #{…}. …

CakePHP: grab only the data you need

When dealing with an abstraction that outputs dynamic SQL “behind your back”, it’s often easy to forget that some of the queries are… too greedy and grab unneeded data. Here is how to ask for less data, using CakePHP. Today, I listed only name and id fields of a Model, and to restrict the findAll() …

Copenhagen.rb meeting notes

Update: photos by Pelle. Syndication with AtomPub, APP and GData… and Rails Olle Jonsson “explores” some things you would want to do with Atom… and how Rails enables you to do it. Update: My somewhat confused slides now available (PDF). DHH on ActiveResource …and then I got lucky, and David was able to give us …

David Black on Ruby and Rails, in Malmo: a post-game

I will try to summarize my Malmo experience in the company of 20 new and old Railsers and presenter David Black. Our kind host Polar Rose had got a very central location for the event, a short hike from the train station. David did a good job of telling an understandable story about Ruby on …

Calling an XML-RPC method (PHP, Ruby)

Calling web services. Great fun when it works. Thanks to XML-RPC’s simplicity, it’s quite easy to cobble together a working client. Here is me using the Technorati “ping” service, which tells them about the Copenhagen Ruby Brigade’s weblog being updated. And then, prints the result. My PHP take on this looks klutzy. But the request …