4 ms·
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
by busterarm 3y ago
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.