Forum: Ruby on Rails Module nastiness

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
42172acdf3c6046f84d644cb0b94642c?d=identicon&s=25 Pat Maddox (pergesu)
on 2006-06-08 13: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 that...now I'm having this problem that only occurs in
production.  Any ideas?

Pat
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Joshua Schairbaum (Guest)
on 2006-06-15 19:35
(Received via mailing list)
Pat,

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
loading.

Thanks,
Josh
This topic is locked and can not be replied to.