Mastering the Observer Pattern in RubyHey there, fellow Ruby enthusiasts! 👋 Today, we’re diving into the Observer Pattern in ruby, but before we jump into this design pattern…Mar 20Mar 20
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