Forum: Ruby on Rails Class namespace

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eff4944f0c6d77290f7aaffdbeb8bfdb?d=identicon&s=25 Daniel Mantilla (dmantilla)
on 2007-01-19 16:29
(Received via mailing list)
I am trying to organize some of my classes in to namespaces using
something like this:

module FileSystem
  class Explorer
    include Reloadable

Everything is fine until a decide to "reload!" on the console. I am
getting the following error:

NameError: uninitialized constant Explorer
ndencies.rb:123:in `const_missing'

Therefore I have to 'exit' and launch the Console again whenver I
change something in my code.
Is there a way to prevent this?

Thanks in advance,

This topic is locked and can not be replied to.