Guilherme Sehn

Full stack developer

How to update timezone information (zoneinfo) on Dokku

November 13, 2019

Recently, the Brazilian government abolished the daylight saving time where the timezone offset went from -3 to -2.

Read More

Accessing Sequelize transaction in model validator

August 23, 2019

There are some cases where you might want to implement a validation method for your Sequelize model that queries other rows in your database to check business rules.

Read More

Implementing your own helper to render React.js components on Ruby on Rails ERB templates

January 20, 2019

Recently I had the opportunity to use Ruby on Rails to develop an internal system for the company I work. It was a good exercise to remember how productive this framework can be, and how single page applications are not always the best choice for every problem.

Read More

Sinon.js causing Express to never finish request in test suite

December 28, 2018

I was beating my brain out today trying to figure out why my error handling middleware wasn’t being called inside the project test suite, but it worked when I did the request directly through the browser.

Read More
Guilherme Sehn © 2019