Daniel Jackson


110 Experience
1 Lesson Completed
0 Questions Solved


Posted in Decorators From Scratch Discussion

Why not use Mixins instead? Wouldn't that work the same magic of keeping code seperated and clean, but without losing access to all the decorator logic when handling the base Model?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2023 GoRails, LLC. All rights reserved.