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 <yves_dufour-ee4meeAH724@public.gmane.org>
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---