Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

nroose's Profile

GitHub User: nroose

Comments by nroose

Avatar

Can you post the full unicorn init you are using?

Avatar

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?