How Metaprogramming makes Ruby expressive!!!

Introduction Ruby is celebrated for its expressiveness and elegance. Much of its charm stems from the concept of metaprogramming. In this blog, we delve into the captivating realm of Ruby metaprogramming, uncovering its historical origins and emphasizing its advanced features that set it apart from other programming languages. What is…

0 Comments

Watch Your Sidekiq Jobs Soar using Autoscaling on AWS

Sidekiq is an awesome workhorse for efficiently running background jobs. Whether it be sending emails, processing huge amount of data etc... Maybe that is why for many of us, background processing in ruby ( rails ) is synonymous with sidekiq. All thanks to is efficient use of memory and concurrency…

1 Comment

Webhook Explained: What They Are & How to Use Them

Introduction: Webhooks are essentially custom HTTP callbacks (or small snippets of code associated with web application) triggered by certain events. Whenever this triggering event occurs on the source site, the webhook checks for the event collects the data and sends it in the form of an HTTP request to the…

0 Comments

Code Smells: A Better understanding on it

Code smells usually provide hints that may point to deeper underlying issues in the code structure and architecture. According to Martin Fowler, they are often an indicator of a problem rather than the problem themselves. Let's look at some common ones: Long Method Long methods, like their name, are too…

0 Comments

Text Search with Trigrams in PostgreSQL

Text Search With Trigrams Hey folks, consider the situation you are writing a mail to your manager and you misspelled the word “cancel” as “cancer”. Then your text editor comes to the rescue and provides suggestions that you should type cancel instead of cancer. How does it find that spelling…

0 Comments

6 Useful Ruby Libraries For Web Application

This article is a basic collection of some useful ruby libraries with example. Here I will talk about abbrev, benchmark, chronic, erb, faker and redcarpet. We can use these for adding up good features. And improvements for our applications. Some of these are available with ruby standard installation, while others…

0 Comments

End of content

No more pages to load