Become git hooked!

Using git hooks can boost your productivity. Do more with less and improve your git skill set with this simple hook.

Read more

Read/Write replicas in Rails 6

This will be part 1 of a series where I’ll describe my adventures on getting Rails 6 to query read replicas successfully in real life application.

Read more

TIL - Chrome has blocked accelerometer access

Chrome has blocked accelerometer access if the website is not accessed by https source

Story Branch - Branch utility gem

Something that bugs me a lot, particularly when I’m working with other people in the same project are meaningless branch names.

Read more

Managing windows on OS X

It’s been a while that I’m a particular fan of using mostly my keyboard as navigation tool in the computer.

Read more

The Strange Date Range Case

There are only two hard things in Computer Science: cache invalidation and naming things

Read more

New Year, New Conference

The outcome of Ruby Conf India 2019 As part of my 2019 resolutions I’ve decided that I should write more often.

Read more

Code Review Emotions

I have recently attended to RedDotRubyConf (in Singapore — June 2017) and I had the chance to listen to one of the best lineups so far.

Read more

Restoring partial backups

Recently a client called quite desperate stating they had deleted some data and couldn’t find a way to get it back.

Read more

Postgres indexes concurrently in ActiveRecord

Recently I’ve had to add new indexes to existing tables in a Postgres database, while developing my Rails project.

I’ve realized that adding those was taking me a long time due to the amount of data in these tables. I was going crazy until I found out this Postgres option. What happens next is incredible…

Read more