1 रिपॉजिटरी
Routing class-level methods and constants from a decorator to the underlying model class.
Distinct from Class Method Definitions: Handles the proxying of class-level finders from a decorator to a model, different from validation or simple definitions.
Explore 1 awesome GitHub repository matching software engineering & architecture · Class-Level Method Mapping. 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
Routes class-level finders and constants from the decorator to the wrapped model class for seamless data retrieval.