1 रिपॉजिटरी
Automatically wrapping model instance variables in presentation decorators before they reach the view layer.
Distinct from Automatic Permit Wrapping: Specifically handles the interception of controller instance variables for decoration, unlike general permit or type wrapping.
Explore 1 awesome GitHub repository matching software engineering & architecture · Automatic Variable Wrapping. Refine with filters or upvote what's useful.
Draper is a presentation layer framework and decorator library for Ruby on Rails that implements the view-model pattern. It serves as a proxy-based system to separate presentation logic from business models, allowing view-specific data transformations to be isolated from the underlying data. The framework provides specialized capabilities for managing how data is displayed, including the ability to wrap single objects or entire collections. It supports recursive decoration for associated models and the injection of view context and request state into decorators to allow for conditional presen
Automatically wraps model instance variables in decorators before they reach view templates.