Forum: Ruby on Rails access ActionView::Base in configuration

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2008-12-11 20:10
(Received via mailing list)
Why is it impossible to access ActionView::Base in my environment.rb ?
getting uninitialized constant error....

thanks fyl

Frederick C. (Guest)
on 2008-12-11 20:21
(Received via mailing list)
Because the code you're writing is running before the framework has
been loaded. Stick it in an initializer

Sent from my iPhone
This topic is locked and can not be replied to.