draper - 1 views
-
anodoor on 10 Oct 11This gem makes it easy to apply the decorator pattern to domain models in a Rails application. This pattern gives you three wins: * Replace most helpers with an object-oriented approach * Filter data at the presentation level * Enforce an interface between your controllers and view templates.