I defined a constant in my application.rb, but it’s apparently not
visible to my views nor helpers. Is there a way to directly access it?
Thanks,
Joe
I defined a constant in my application.rb, but it’s apparently not
visible to my views nor helpers. Is there a way to directly access it?
Thanks,
Joe
On 11/10/06, Joe R. MUDCRAP-CE [email protected]
wrote:
I defined a constant in my application.rb, but it’s apparently not
visible to my views nor helpers. Is there a way to directly access it?
ApplicationController::CONSTANT
Maybe you want a toplevel constant instead.
jeremy
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs