auto_decorator is a Ruby gem that enables convention-based decorator autoloading for Rails models. Decorators are plain Ruby modules placed in `app/decorators/` that get automatically included into matching model classes based on file naming conventions — no configuration needed. It differs from Draper by adding methods

2m read timeFrom github.com
Post cover image
Table of contents
InstallationUsageHow it worksCompatibilityContributingLicense

Sort: