From: Robert Dober Date: 2009-04-28T23:19:04+09:00 Subject: Re: Using method missing to create getters and setters On Mon, Apr 27, 2009 at 11:44 PM, David Masover wrote: > On Sunday 26 April 2009 12:40:05 Tim Conner wrote: >>       BatchExternalBooking.instance_eval "attr_accessor > > Why the string eval? > > BatchExternalBooking.send :attr_accessor, :"message_thread_#{$1}" > > Sorry, I'm a pedant about things like that... Also, you might want to check Well apart that Robert has said this already nothing to be sorry about. ;) This is a very concise implementation and I prefer it to mine. Cheers Robert