From: Pete Moran Date: 2009-08-13T17:14:24+09:00 Subject: Re: Simple If UPDATE: This works if params[:country][:id] id = params[:country][:id] else id = params[:id] end But is there a oneliner equivalent? -- Posted via http://www.ruby-forum.com/.