From: "S. Robert James" Date: 2006-12-26T06:30:10+09:00 Subject: Re: including a namespace for just one class Is it possible that Rails changes things somehow? I think I know - the autoloader can't find them then! Phrogz wrote: > On Dec 25, 2006, at 12:20 PM, S. Robert James wrote: > > I would like to reference constants and classes defined in module > > People in the class Schedule. > > Here's an example that works fine for me: > module People > POPULATION = 1234567 > end > > class Schedule > include People > def x > p POPULATION > end > end > > s = Schedule.new > s.x > #=> 1234567 > > p VERSION > #=> "1.8.5"