Want more GoRails?
GoRails is packed full with 684 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
Building a gem can be complicated. Often times you're writing abstract, meta code so it can be used flexibly in situations you'll never imagine. We'll talk about the architecture and design of the noticed gem and how it all works.
Notes
Resources
Design Patterns
0% Complete
1
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
Designing & Building the Noticed gem
34m
7
Decorating with SimpleDelegator and Modules
15m
8
Law of Demeter and Delegation
17m