There is a hint of how move models into their own namespaces here in the RoR Trac instance:
http://dev.rubyonrails.com/ticket/2147.
All models should go into the "ActiveRecord" namespace, so for example "class User" should become
"class ActiveRecord". I guess this will involve setting the relation class names in the relation macro calls
to belongs_to :class_name => "ActiveRecord::User" and maybe also changing the default table names to something
like active_record_user.
All these changes should be made, but the table names should be configureable in
components/active_record/configuration.rb.
Also change all unit test to reflect these changes.
|