Accessing helpers within partials within helpers

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?