📝 RailsConf 2022—Lies About Metaprogramming
danieljamescolson.comDuring my talk at RailsConf 2022, I present a simplified version of Active Record’s belongs_to and has_many methods. These methods involve some metaprogramming to generate instance methods for the association, and I demonstrate that using Ruby’s define_method:
Read more...