From: "Hemant ." Date: 2006-09-01T11:05:56+09:00 Subject: Re: namespace pollution in ruby ------=_Part_59937_1812788.1157076315448 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/1/06, Logan Capaldo wrote: > > > On Aug 31, 2006, at 9:41 PM, Hemant . wrote: > > > Why not, if rails would have been coded to have proper prefixes in the > > classes/modules, I would have avoided that trouble? > > > > class RailsPrefixActiveRecord > def hello > ... does something useful ... > end > end > > class YourClass < RailsPrefixActiveRecord > belongs_to :hello > end > > Do you see the issue now? Prefixes still wouldn't have helped your > problem, unless you wanted to prefix every method call, which is I > think we can agree ridiculous. > > (P.S.: Please don't top-post) > > > Yes...agreed. P.S: sorry about top posting. ------=_Part_59937_1812788.1157076315448--