From: ts Date: 2002-10-20T23:05:38+09:00 Subject: Re: Strange String bug (around type.to_s from mod_ruby)? >>>>> "S" == Szabolcs Szasz writes: S> Fine. Now, from the browser (thru mod_ruby): mod_ruby run a script in an anonymous module, this is what you are seeing S> "#::Sub" S> "Module 0lx4048974c>::Sub" The anonymous module is "Module 0lx4048974c" S> "Base" S> "se" a "require" run at top level and in your case create the class Base S> If in bug.rhtml you don't require bug.rb but paste it in (see S> comments in the code), then both printouts will break: S> "#::Sub" S> "Module 0lx4048974c>::Sub" S> "#::Base" S> "Module 0lx4048974c>::Base" You have cut/paste the code and now the class Base is created in the anonymous module. Guy Decoux