From: Ron M Date: 2005-08-27T01:42:18+09:00 Subject: Re: Method behaves differently when called using #send David A. Black wrote: >> >>>> es.y >> => 30.468257171342 >>>> es.send(:y) >> ArgumentError: wrong number of arguments (0 for 1) >> from (irb):7:in `y' >> from (irb):7 > I wonder whether it's YAML-related. The YAML library defines > Kernel#y. I'm not sure why you'd get that error message from it > though, unless maybe AR hooks into it in some way. I guess one part of my question was more along the lines of "is it a bug or a feature I don't understand, that calling methods through "#send(:name)" vs ".name" seem to find different methods" Regarding the specifics of what weird stuff AR is doing, would this be a good place to ask, or would the rails mailing list be better? Thanks, Ron