Forum: Ruby on Rails Module nastiness

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.
Pat M. (Guest)
on 2006-06-08 15:06
(Received via mailing list)
Yesterday I was having problems getting fixtures to load correctly
after moving my models into separate modules.   Wrote a patch for
fixtures and all was fine.

Then I put my app into production mode.  I've got two classes named
Player.  HHConv::Player and Trainer::Player.  Rails seems to only care
about the Player class that first gets loaded in, even if I name them
explicitly using the full namespace.

What's going on here?  The only problems I've heard are with fixtures,
but I got past I'm having this problem that only occurs in
production.  Any ideas?

Joshua S. (Guest)
on 2006-06-15 21:35
(Received via mailing list)

Did you ever figure out what was going on with this?  I'm interested in
your solution, or what you were able to find out about the class

This topic is locked and can not be replied to.