Access ActionView::Base in configuration

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

thanks fyl


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

Sent from my iPhone

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs