From: Mike Mike Date: 2008-08-03T06:26:00+09:00 Subject: Case statment not working with strings 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 the thing stored in event['event_title'] is a string and the values do match my strings (ie should evaluate to true), but the case is never evaluating to true. any help appreciated, I could always use a big ugle if/elsif -- Posted via http://www.ruby-forum.com/.