Presenters and decoratorsRuby6,995EditObject-oriented programming for your views.
Decorators/View-Models for Rails Applications
ORM agnostic truly Object-Oriented view helper for Rails 3, 4 and 5
Wrap your objects with a helper to easily show them
Delegate methods in Ruby and preserve self. Add behaviors to your objects without altering their superclass hierarchy.
Entities - a simple Facade to use with your models and API - extracted from Grape.
Opinionated presenters for Rails 5 - without the cruft
An implementation of the Exhibit pattern, as described in Objects on Rails
Flexible presenters for Rails.
Decorators on top of your ORM layer.
A simple wrapper for objects (think of Burgundy as a decorator/presenter) in less than 150 lines.
Simple presenter system for Rails without any black magic
Delegator and SimpleDelegator in Ruby's stdlib are somewhat useful, but they pull in most of Kernel. This is not appropriate for many uses; for instance, delegation to Rails models.
A simple presenter/facade/decorator/whatever implementation.
Add and remove behaviors to individual Ruby objects
Decorate objects in Rails without the pain of wrappers
A tiny, HAL-compliant JSON presenter for your Ruby APIs.
Around the webAdd