Re:Ruby's Exceptional Creatures
by busterarm on Sunday January 28, 2024 @10:30PM
(#39172397)
If you want to be wowed by how incredible method_missing and define_method are, read through ActiveSupport and ActiveRecord's source code.
Early in my career I made my own toy ActiveRecord implementation and it's full of define_method and was literally the first time in my life that programming felt like a real superpower.
Early in my career I made my own toy ActiveRecord implementation and it's full of define_method and was literally the first time in my life that programming felt like a real superpower.