Access ActionView::Base in configuration


#1

Why is it impossible to access ActionView::Base in my environment.rb ?
getting uninitialized constant error…

thanks fyl

erwin


#2

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

Sent from my iPhone