How To Write Macros in Ruby
Vložit
- čas přidán 1. 06. 2024
- In Rails you use class-level declarations such as has_many, belongs_to, and other so-called “macros” all the time. Developers often assume these are magic. They're not! It's just Ruby code.
In this short video tutorial we recreate a simplified version of the has_many declaration from scratch so you understand how to apply this same powerful technique in your own Ruby code!
To see more and get the source code, go to:
pragmaticstudio.com/tutorials... - Věda a technologie
Thank you very much sir. This was most helpful, you’ve given me a great insight into rails.
This is very helpful.
Awesome 👍
Fantastic video. Demystifies what had looked like magic
Amazingly clear explanation. Thank you!
amazing
Brilliant explanation. Thanks!
This was just awesome !!
Absolutely great!
Great video!
Need some more awesome video like this