Are all helpers accessible to all controllers?

In my app I have model helpers with the same names, such that each controller should be calling the correct helper within its own helper's namespace. Isn't this the expected behavior?

It appears that when I call a helper it's picking the module that is alphabetically last which is for a different model/controller alltogether.

I'm using Rails 2.0.2.

doug316 wrote:

In my app I have model helpers with the same names, such that each controller should be calling the correct helper within its own helper's namespace. Isn't this the expected behavior?

It appears that when I call a helper it's picking the module that is alphabetically last which is for a different model/controller alltogether.

I'm using Rails 2.0.2.

This is what is at the top of application_controller.rb by default:

class ApplicationController < ActionController::Base   helper :all # include all helpers, all the time

So, all files in the load path with the glob form *_helper.rb are automatically loaded in Rails 2.0

Thanks!!