From: "Brian Schröder" Date: 2005-02-21T07:21:13+09:00 Subject: Re: Including problems On Mon, 21 Feb 2005 06:44:42 +0900 "T E" wrote: > I have a file (index.rb) that includes head.rb. head.rb has a class > "Page" and in it, method "start". The problem is that when calling > Page.start I get this error: "uninitialized constant > #::Page (NameError)" it is pretty frustrating, can > anyone tell me whats wrong with it? > > If you are inside of another modules namespace, maybe you'd need to directly address the Page class you want. Otherwise, please try to cut down the code to a minimal example and post it here. E.g. ::Page.new.start hope to help, Brian