Polymorphic Models in Ruby on Rails 7
Вставка
- Опубліковано 8 лют 2025
- Quickly add polymorphic models (Likes, Comments, etc) to a Ruby on Rails 7 app using some tricks that will let you keeo your code base looking lean.
Checkout my course(s) at: learn.deanin.com
Source:
github.com/Dea...
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
linktr.ee/deanin
If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
#Deanin #Software #Programming
Hey everyone! Had this one on the list for a bit now as people kept asking. Managed to find a few neat tricks to clean up and refine the process a bit too. Hope you enjoy.
Thanks Dean... You are a great teacher..
Another example could be adding a Logs (history of changes) to other Models.
Amazing : )
Is this a walkthrough on polymorphic associations?