Imperative vs Declarative programming

What you do in general while coding? Tell the machine how to do it or ask the machine to do it for ourselves. Photo by Goran Ivos on Unsplash So today we will be going through the concepts like imperative programming and declarative programming.These concepts are not languag specific. So what is imperative programming? Imperative programming means you … Continue reading Imperative vs Declarative programming

Custom event tracking with ActiveSupport::Notifications and Audited

When it comes to logging or tracking changes in Ruby on Rails models, We typically tend to use either paper_trail or audited gems as these are most popular and widely used gems in Ruby on Rails applications for tracking changes in Rails models, but what if you want to track the custom events on controller … Continue reading Custom event tracking with ActiveSupport::Notifications and Audited