In Rails 2.0.x, application.rb has a:
1 2 |
helper :all
|
FooController and BarController, then the helpers will be loaded in the following order:
- ApplicationHelper
- BarHelper
- FooHelper
So, if you expect to have different behaviours in Foo and Bar, you'll be disappointed. The behaviours override each other, leaving a single behaviour across the application. In order to fix this, remove or comment out the declaration in application.rb.
