Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 563 Bytes

File metadata and controls

24 lines (16 loc) · 563 Bytes

Draper Plugin

Draper decorator patterns for Rails view logic.

Installation

/plugin install draper@claude-ruby-marketplace

Skills

draper-decorators

Triggers: Creating decorators, presentation logic, formatting model data for views

Complete guide to the Draper gem:

  • Decorator philosophy and structure
  • Delegation strategies, accessing helpers
  • Association decoration, context passing
  • Testing decorators with RSpec
  • Common anti-patterns (N+1, fat decorators)

References: patterns.md, testing.md, anti-patterns.md