RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: nroose
Can you post the full unicorn init you are using?
That seems pretty well organized. But then, if you have a dozen helper files and access them from a dozen different views, then if you are looking in the view and you see a call to a method, you really have no idea where it is defined, and most people use their IDE to find it. And what happens if you use the same name for a method in each of 2 different helper modules?
And these helper methods are for views, anyway, not for controllers, so I don't think it is very nice to have to include them in the controller. I think it would be much better if we were including them in the views, or perhaps just calling them with their module name and method name.
Is anyone else underwhelmed by the way the helpers work?