Macros in ruby | Metaprogramming in ruby -7A class method which can generate instance methods for us.Feb 24, 2023Feb 24, 2023
instance_eval and class_eval | Metaprogramming in ruby -3change the behaviour of your classes and objects on the flyFeb 22, 2023Feb 22, 2023
Concept of metaclass Metaprogramming in ruby -2You can write the code that generates the code!Feb 22, 2023Feb 22, 2023
Open classes | Metaprogramming in ruby-1Metaprogramming is you can generate the code by writing the code!Feb 21, 2023Feb 21, 2023
ActiveModel::ValidationsEver wondered if you can use ActiveRecord like Validations in a pure ruby class?Jul 13, 2022Jul 13, 2022
ActiveModel::CallbacksHere’s how you can use ActiveRecord like callbacks in a ruby class!Jun 29, 2022Jun 29, 2022