From: James Edward Gray II Date: 2006-07-12T03:56:32+09:00 Subject: Re: blocks and procs On Jul 11, 2006, at 1:18 PM, Dark Ambient wrote: > I am running into some select errors though , via the select > statement. Sure I see the trouble... > require "pp" > db = ClientDB.new > pp db.select { |record| record.client_name != "Gray Productions" } > pp db.select { |record| record.client_name +~ /crew/i } > pp db.select { |record| record.projects.size == 1 } > pp db.select { |record| record.projects.include? "Ruby Quiz" } In order to run this example, you need to use the select() code in the article, just a paragraph above it. I'm slowly making changes and refining a solution as I go. Hope that helps. James Edward Gray II