Archive for April, 2010

Seeding Rails App With RESTful Address Data

Wednesday, April 28th, 2010 by Jesper Rønn-Jensen

Grabbing data from Restful webservices has never been easier. I use this code in the Rails /db/seeds.rb file to grab data from the Danish webservice with addresses, municipalities, regions, etc. I decided to import the data into a local database to ensure it could work offline. Code from /db/seeds.rb file: Now I can access municipalities […]

Lessons Learned from Pixar

Wednesday, April 28th, 2010 by Jesper Rønn-Jensen

I took Jeff Atwodd’s advice and watched Ed Catmull of Pixar: “Keep your crises small”. A presentation about lessons learned from successes and crises at Pixar. A central quote: If you give a good idea to a mediocre group, they’ll screw it up. If you give a mediocre idea to a good group, they’ll fix […]

Capgemini SmartLunch: Cucumber for Automated Acceptance Testing

Tuesday, April 27th, 2010 by Jesper Rønn-Jensen

Today I did an internal presentation on how we used Cucumber as testing framework on several recent occasions. The presentation was held in our usual Capgemini SmartLunch format: People can eat and learn in their lunchbreak. External visitors are welcome. Duration 30-45 minutes including questions. pres 2010-04-27-cucumber (573KB pdf format) pres 2010-04-27-cucumber.key (782KB keynote format)

Explanation of Firebug Net Panel Findings

Thursday, April 22nd, 2010 by Jesper Rønn-Jensen

Jan Odvarko – one of the Firebug developers – posted some very good explanations on the information available from the Firebug net panel. Here is the explanation of the detailed mouseover view when zooming in on each request: The second request started 109ms after the start of the first request (since the beginning of the […]

Groovy for Hudson console

Tuesday, April 20th, 2010 by Jesper Rønn-Jensen

Hudson continuous integration server has a console which is good for testing scripts and access to commands that your Hudson jobs need. The hudson console only let’s you run Groovy script. To run commands on the machine, Groovy has the method “string”.execute(). So now I can use this snippet to test versions of Ruby, JRuby, […]