PinnedPostgreSQL locks in Rails MigrationsWhen we need to update huge data by adding a rails Migrations or a rake/Thor task. We should worry about the PostgreSQL locks. Every time…Jun 23, 2021Jun 23, 2021
We use exceptions to handle unexpected failures inside a program.In Ruby Exception are implemented as classes inherited from the Exception class which are used to signal an error condition when the…Jul 1, 2021Jul 1, 2021
Safe Navigation Operator (&.)&., is called “safe navigation operator”, as it allows to skip method call when the receiver is nil. It returns nil and doesn’t evaluate…Jun 29, 2021Jun 29, 2021
Dynamic Tic Tac Toe GameIn this story, I will be building an evergreen Tic Tac Toe game in Javascript(Jquery). It looks really simple in implementation but for…Sep 4, 20201Sep 4, 20201
Learning RuAt JyaasaJyaasa is the place where I first knew about ruby and its framework (rails). I knew about PHP and its famous framework(Laravel), so I was…Oct 1, 20191Oct 1, 20191