2 Models: Same name, different namespace => Problems

Let's start with an example:

There's some funkyness to do with the automatic loading and namespaces (see http://groups.google.com/group/rubyonrails-core/browse_thread/thread/17e9e5e564e8ea64/def2cec288984fa3?lnk=gst&q=const_missing#def2cec288984fa3) You may be able to sidestep this by just using require_dependency to require stuff ahead of time

Fred

Frederick Cheung wrote:

the whole const_missing autoloading thing has a number of quirks. Namespaced models aren't used very often, at least in the past there have been a number of edge cases.

Fred

Frederick Cheung wrote:

Frederick Cheung wrote:

>>> (see

> the whole const_missing autoloading thing has a number of quirks. > Namespaced models aren't used very often, at least in the past there > have been a number of edge cases.

> Fred

Thanks Fred!

Should I open a feature request athttp://rails.lighthouseapp.comor does the rails core team provide a possibilty to vote for new features?

You might want to post to the rubyonrails-core google group. Although like I said, last time this was discussed it wasn't clear what to do about it.

Fred