According to this article Rails helpers from a particular controller are
available to all views. But to me this looks kind of a dangerous
approach because as the project gets larger the developer can mistakenly
at some point use helper methods with the same name but with different
implementations. This architecture can cause conflicts and undesired
results in the long run. This problem actually happened one time and it
took me quite some time to figure out the problem. This is why I am kind
of worried with this issue.
What should I do to prevent this problem from occurring?
Why is the Rails helper scoped this way?
What is the reason for sharing helpers between views?
Does anyone had any problems with this approach?
Is there another recommended way to work?