On Jan 16, 2008, at 10:41 AM, Rick DeNatale wrote:

> 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

yeah that makes more sense

>
> I'm not sure what Config is, TMail::Config?
>


Application.configure 'google_ad_client' => '1234'

etc.  some sort of openobject/openstruct to put application specific  
'globals' into.  i think it's crappy that there is no namespace for  
this stuff.

cheers.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to