Presenters and decoratorsRuby6,902EditObject-oriented programming for your views.
Decorators/View-Models for Rails Applications
ORM agnostic truly Object-Oriented view helper for Rails 3, 4 and 5
Entities - a simple Facade to use with your models and API - extracted from Grape.
Delegate methods in Ruby and preserve self. Add behaviors to your objects without altering their superclass heirarchy.
Wrap your objects with a helper to easily show them
Opinionated presenters for Rails 5 - without the cruft
An implementation of the Exhibit pattern, as described in Objects on Rails
Decorators on top of your ORM layer.
Flexible presenters for Rails.
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