Is it bad practice to do this in a view (it’s a helper method)?
<% get_articles %>
If so, where should it live? It seems logical to me to call them in their corresponding controller blocks, but I’m not sure if that’s correct or how to do it.
Thanks!
If the method lives in a helper, its designed to be called in the view. Really depends on what that method is doing if it should be there.
Is it accessing the database? If so, it should be called from the controller and its results stored in a variable to be used by the view. (It also shouldn’t be in a helper).
If that method simply generates html to be used in the view, then you would output it as