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?

Cheers,

Brendon

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