Because the code you're writing is running before the framework has  
been loaded. Stick it in an initializer

Sent from my iPhone

On 11 Dec 2008, at 18:09, Erwin <[email protected]> wrote:

>
> Why is it impossible to access ActionView::Base in my environment.rb ?
> getting uninitialized constant error....
>
> thanks fyl
>
> erwin
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to