Tuxedo: 150 LOC Presenter Logic

Tuxedo: 150 LOC Presenter Logic

TL;DR Tuxedo a gem that implements Decorator/Presenter pattern in 150 LOC. Presenters, Decorators, view helpers,... all names that try to do the same thing. Keep logic out of your views where it's difficult to test and promote reuse of helpers. The earliest mention of Presenter came from Jay Fields in a blog post titled: Rails: Presenter Pattern created read more »