From: Gregory Brown Date: 2009-08-13T23:04:20+09:00 Subject: Re: noob question on combining variables On Thu, Aug 13, 2009 at 9:40 AM, Etienne Vallette d'osia wrote: > bingo bob wrote: >> >> How does that work? Sorry not clear. >> >> All I'm trying to do is get the count (which will be 1, 2 or 3) included >> on the end of the "image_" >> >> bb > > resort.send(:"image_#{file_count}=", photo_file) It is not necessary to pass a symbol as a message, a string will do.