draper
https://github.com/drapergem/draper
Ruby
Decorators/View-Models for Rails Applications
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
9 Subscribers
Add a CodeTriage badge to draper
Help out
- Issues
- Would be nice to have a :module option to decorates_association
- Suggestion: add context[:owner] automatically for decorated associations
- Run controller filter to `activate_draper` as early as possible
- :context too generic a name to be injected into wrapped objects?
- Way to decorate only collection without decorating the instances
- Add better support for activerecord relations and mongoid criteria
- .decorate is the Devil
- Docs
- Subscribe to help with docs for this repo and come back later