Applied this fix http://dev.rubyonrails.org/ticket/4967 to solve namespaced models dependencies problem.
Authored by: jplang 2007-06-12
Parent: [r560]
Child: [r562]