PinnedSubashkhatriPostgreSQL 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…2 min read·Jun 23, 2021----
SubashkhatriWe 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…3 min read·Jul 1, 2021----
SubashkhatriSafe 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…1 min read·Jun 29, 2021----
SubashkhatriDynamic 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…5 min read·Sep 4, 2020--1--1
SubashkhatriLearning 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…2 min read·Oct 1, 2019--1--1