Re: [Rails] invoking helper method in controller and view breaks the separation of concern?

2013-04-03 Thread tamouse mailing lists
I am unfamiliar with this concept of separating helper functions. In the interest of DRY code, what you're doing makes complete sense to me. On Tue, Apr 2, 2013 at 4:54 PM, John Merlino stoici...@aol.com wrote: I came across some posts which postulate that it's undesirable to share helper

[Rails] invoking helper method in controller and view breaks the separation of concern?

2013-04-02 Thread John Merlino
I came across some posts which postulate that it's undesirable to share helper methods across controller and views because UI code (designed to render HTML) should be separate from controller code (designed for handling requests). That makes sense but there are times, a good example is filtering,