From: Farrel Lifson Date: 2008-08-03T06:29:41+09:00 Subject: Re: Case statment not working with strings 2008/8/2 Mike Mike : > > Hello, I have a rather simple case statement: > > case event['event_title'] > when ('Class GroupsPhoto Day' || 'Retake Day' || 'School Group' || > 'Photo' || 'Staff Group Photo' || 'Staff Group Photo' || 'Teams and > Clubs' || 'Group Photo Session') > blah... > end Use a ',' instead of '||' Farrel -- Aimred - Ruby Development and Consulting http://www.aimred.com