Level 3 — Advanced
These lessons cover metaprogramming, concurrency, performance and memory, databases, security, web apps with Rack, and how a real Ruby project is structured, tested, and shipped. Recommended: the Level 2 lessons, especially classes, modules, and testing.
Lessons in this module
- 1. Metaprogramming: send and define_method 7 min
- 2. method_missing and respond_to_missing? 5 min
- 3. Blocks as DSLs: instance_eval and configure 6 min
- 4. Open Classes, Monkey Patching, and Refinements 5 min
- 5. Enumerators and Lazy Evaluation 6 min
- 6. Threads and the GVL 7 min
- 7. Thread Safety: Mutex and Queue 6 min
- 8. Ractors and Fibers 6 min
- 9. Memory and Garbage Collection 5 min
- 10. Performance and Profiling 6 min
- 11. Working with Databases 7 min
- 12. Security Fundamentals 7 min
- 13. Building Web Apps with Rack 7 min
- 14. Test Doubles: Stubs and Mocks 6 min
- 15. Type Signatures: RBS and Sorbet 5 min
- 16. Designing and Publishing a Gem 6 min
- 17. Design Patterns in Ruby 7 min
- 18. Production Ruby: Deployment and CI/CD 7 min