Frederick,
Thanks. I am glad you agree with me. By the way, do you recommend
setting this option to false as good practice on every fresh project?
Looks like your idea solves the issue, but of course, will force you to
dump stuff like you said, in application.rb.
I researched a little bit and I found a way to reference common code in
application without bloating it out making you suggestion a good
practice.
For instance, instead of placing Currency code in application code you
just reference it with an include and it will be available in all views.
This is better approach than the promiscuous helper architecture
module ApplicationHelper
include CurrencyModule
def blabla
end
Is there any other reason for not doing this:
config.action_controller.include_all_helpers =
false?
end
thanks
Frederick Cheung wrote in post #1135687: