<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7.1" -->
<rss version="0.92">
<channel>
	<title>Oliver Searle-Barnes</title>
	<link>http://www.opsb.co.uk</link>
	<description>Agile web craftsman</description>
	<lastBuildDate>Mon, 26 Apr 2010 06:36:34 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Introducing Butler-IO</title>
		<description>Some of those IO tasks can simply be the height of tedium. Why not ask the butler to take care of it? He's rather clever don't you know, he even understands a thing or two about that apache VFS.

Butler will fetch


byte []
String
String in utf8
InputStream

File



from


VFS locations - allows loading from any ...</description>
		<link>http://www.opsb.co.uk/?p=176</link>
			</item>
	<item>
		<title>Follow table links in cucumber</title>
		<description>On a page you'll quite often have a table like the following


  
    BookAuthor&#160;
  
  
    
      Harry Potter and half blood princeJ.K. RowlingDelete
    
    
     ...</description>
		<link>http://www.opsb.co.uk/?p=165</link>
			</item>
	<item>
		<title>rcov for cucumber and shoulda</title>
		<description>There seems to be a lot of bad info out there about this. It's really quite simple, you just have to make use of the built in tasks provided by cucumber and rcov. The following task definitions will generate coverage reports for cucumber features and rails tests in coverage.features and ...</description>
		<link>http://www.opsb.co.uk/?p=163</link>
			</item>
	<item>
		<title>Validates uniqueness of multiple columns</title>
		<description>We came across a case where we wanted to validate that the combination of first and last names for a new person was unique. Add the following snippet


#config/initializers/validators.rb
ActiveRecord::Base.class_eval do
  def self.validates_uniqueness_of_combined(*attr_names)
    options = attr_names.extract_options!.symbolize_keys
    attr_names = attr_names.flatten
    
   ...</description>
		<link>http://www.opsb.co.uk/?p=149</link>
			</item>
	<item>
		<title>Put your team back together with some promiscuous pairing</title>
		<description>It's happened so many times. The big release is coming up, we realise there isn't enough time to get all the necessary features in, the business demands that we drop quality to hit the deadline. We reluctantly comply and... we hit the deadline. The business and more importantly our customers ...</description>
		<link>http://www.opsb.co.uk/?p=122</link>
			</item>
	<item>
		<title>Getting started with ruby DBI and mysql</title>
		<description>DBI is a database api based on Perls' DBI. It's great for those occasions where you want to interact with a database in a script, or perhaps when you have a really lightweight app that doesn't need an ORM framework. 

Install

Ok, it took quite a bit of searching around but ...</description>
		<link>http://www.opsb.co.uk/?p=88</link>
			</item>
	<item>
		<title>Installing mysql gem on ubuntu</title>
		<description>Install mysql

apt-cache search mysql-client

Choose one and install (sudo apt-get install xxx)

Install dev headers

apt-cache search libmysql

Choose one that ends in dev and install

Install gem

sudo gem install mysql
 </description>
		<link>http://www.opsb.co.uk/?p=77</link>
			</item>
	<item>
		<title>#clapforwhy</title>
		<description> </description>
		<link>http://www.opsb.co.uk/?p=76</link>
			</item>
	<item>
		<title>Useful regular expressions with egrep</title>
		<description>First word: egrep -o "^\w*\b" </description>
		<link>http://www.opsb.co.uk/?p=75</link>
			</item>
	<item>
		<title>Pimp my git</title>
		<description>Now that I'm starting to use git more regularly I've started looking for ways to make git even better. It turns out that git's really easy to customise.

Aliases
Having recently heard that "git stage" is going to be added as an alias for "git add" another git fan mentioned that you ...</description>
		<link>http://www.opsb.co.uk/?p=56</link>
			</item>
</channel>
</rss>
