Prateek vyasMacros in ruby | Metaprogramming in ruby -7A class method which can generate instance methods for us.Feb 24, 2023Feb 24, 2023
Prateek vyasmethod_missing | Metaprogramming in ruby -6Missing methods in rubyFeb 23, 2023Feb 23, 2023
Prateek vyasdefine_method | Metaprogramming in ruby -5Define your methods on the flyFeb 22, 2023Feb 22, 2023
Prateek vyasSend method | Metaprogramming in ruby -4Call your methods in a different wayFeb 22, 2023Feb 22, 2023
Prateek vyasinstance_eval and class_eval | Metaprogramming in ruby -3change the behaviour of your classes and objects on the flyFeb 22, 2023Feb 22, 2023
Prateek vyasConcept of metaclass Metaprogramming in ruby -2You can write the code that generates the code!Feb 22, 2023Feb 22, 2023
Prateek vyasOpen classes | Metaprogramming in ruby-1Metaprogramming is you can generate the code by writing the code!Feb 21, 2023Feb 21, 2023
Prateek vyasActiveModel::ValidationsEver wondered if you can use ActiveRecord like Validations in a pure ruby class?Jul 13, 2022Jul 13, 2022
Prateek vyasActiveModel::CallbacksHere’s how you can use ActiveRecord like callbacks in a ruby class!Jun 29, 2022Jun 29, 2022
Prateek vyasActiveModel::AttributeMethodsWhat does ActiveModel::AttributeMethods do?Jun 27, 2022Jun 27, 2022