Activity
Dennis Hackethal criticized idea #325.
#325·Dennis HackethalOP revised over 1 year agoHiccdown methods should live in their own, separate modules. How about they are called ‘displays’?
rubymodule ProductsDisplaydef self.index vc, # …vc.some_helper_methodendendA benefit of this approach is that, when people start a new Rails app, they may end up putting whatever they’d otherwise put in a helper in a display, since displays have the benefit of having unambiguously resolvable method names.
Instance variables are not available inside the methods.