From: "Peter C. Verhage" Date: 2006-08-31T19:47:28+09:00 Subject: Re: Weird string problem (cause in SOAP4R) NAKAMURA, Hiroshi wrote: > Hmm. Can soap4r distinguish objects > > class Foo > attr_reader :ical_params > end > obj = Foo.new > obj.ical_params = 123 > obj (ical_params in obj should be serialized) > > and > > obj = "abc" > obj.instance_eval { @ical_params = 123 } > obj (ical_params in obj may not need to be serialized) I don't think so. But can't this if statement simply return the string without the instance variables serialized instead of nil in case @allow_original_mapping is false? Regards, Peter