From: Jacob Fugal Date: 2005-12-07T01:35:20+09:00 Subject: Re: getting around access control On 12/6/05, ara.t.howard@noaa.gov wrote: > >> c.instance_eval{ p meth } > > i personally think instance_eval should be able to call both protected and > private methods... > > it's just too hard to decide once and for all what should be private in an api > - this gives uses a way out. > > take now for instance though - it seems i'm stuck since i cannot call the > methods i need without altering the source of rails... ;-( Well, one thing you can do for now is not worry about altering the rails sources, but just reopen the class in a personal library to unprotect the needed method. Right? Jacob Fugal