Want more GoRails?
GoRails is packed full with 688 lessons just like this one.
Sign up to get full access or log in to your account and sit back.
Your Teacher
Chris Oliver
Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.
About This Episode
Learn what the Decorator design pattern does and how to implement it from scratch
Notes
Resources
Design Patterns
0% Complete
Decorators From Scratch
20m
2
Decorators with the Draper Gem
22m
3
Form Objects Design Pattern
17m
4
When Callbacks and Dependencies Are A Good Idea
20m
5
How to use Dependency Injection in Ruby
5m
6
Designing & Building the Noticed gem
34m
7
Decorating with SimpleDelegator and Modules
15m
8
Law of Demeter and Delegation
17m
9
Practical Decorators & Extracting Concepts
0h 0m