From: Stefan Kroes Date: 2008-04-25T17:05:27+09:00 Subject: Re: This can't be right I will try the last one first: @name ||= ( property = content_properties.find_by_key('name') ? property.value : "" ) Very short and very readable, all cases are in there nicely Thx! -- Posted via http://www.ruby-forum.com/.