From: Logan Capaldo Date: 2006-12-28T14:21:08+09:00 Subject: Re: including a namespace for just one class On Tue, Dec 26, 2006 at 07:15:04AM +0900, S. Robert James wrote: > > S. Robert James wrote: > > Is it possible that Rails changes things somehow? > > I think I know - the autoloader can't find them then! > > Does that make any sense? The autoloader can find them if I include > People in the global namespace, but not if I include it in the class?! > If so, is there a workaround? > Yes it makes sense and you are probably right. The workaround is to explicitly require the file e.g: require 'people' # Or whatever the file is