It seems <=> is not much use if it can't be relied on to do what it 
says.

I now need to compare my arrays with:

original_item_ids.sort.join('-') == new_item_ids.sort.join('-')

Which is messy.

Julian

-- 
Posted via http://www.ruby-forum.com/.