Forum: Ruby on Rails Accessing helpers within partials within helpers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Brendon (Guest)
on 2009-03-02 05:18
(Received via mailing list)
Hi everyone, not sure if this is a bug or just normal behaviour:

From a layout file call a helper, inside that helper render a partial,
inside that partial call a different helper.

I find that the last helper doesn't actually get called, and when I
try to inspect its class it's NilClass.

Is this a scoping problem?

Cheers,

Brendon
This topic is locked and can not be replied to.