No, no, no! You see, if you do that then it's one step to EigenClass::ClassFactory::ApplicationFactory::Application::ApplicationSpace::MyApplication::Factories::ModelFactory::Interfaces::IModel < EigenClass::Namespace::Rails::ApplicationAPI::Abstract::Interface::Models::ActiveRecord::Base
Then your models can do MyModel < IModel. Much cleaner. --Jeremy On Jan 17, 2008 2:01 AM, Rob Sanheim <[EMAIL PROTECTED]> wrote: > > On Jan 16, 2008 12:41 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > > > > On 1/16/08, ara.t.howard <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Jan 16, 2008, at 8:33 AM, Pratik wrote: > > > > > > > > > > > Btw, I like the idea of renaming it to Application instead of > > > > ApplicationController, in case we *must* change it. > > > > > > > > > > Application::Controller > > > Application::Model > > > Application::View > > > Applcation::Config > > > > I kind of like this idea, although my gut instinct tells me that it > > might want to follow the existing module hierarchy. > > > > class Application::ActionController < ::ActionController::Base > > class Application::ActiveRecord::Base < ::ActiveRecord::Base > > class Application::ActionView::Base < ::ActionView::Base > > > > I'm not sure what Config is, TMail::Config? > > > > -- > > Rick DeNatale > > > > My blog on Ruby > > All these things smell like premature generalization to me... > > - Rob > > http://robsanheim.com > > > > > -- http://www.jeremymcanally.com/ My books: Ruby in Practice http://www.manning.com/mcanally/ My free Ruby e-book http://www.humblelittlerubybook.com/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
