At work I’m working on implementing REST based API end-points to expand the functionaity of the front-end application. Recently I had a discussion with one of the developers in the team about what HTTP error should be used when something that is expected to be present is missing due to some inconsistency in the server.… Continue reading To use 404 code or not
Author: Sinaru Gunawardena
Sinaru is a software developer at work and a painter in free time. He enjoys writing tech notes on his personal website. He currently lives in Dublin, Ireland.
Things to consider when upgrading Rails
Recently at work I had the opportunity to upgrade Rails from 4.2 all the way to Rails 6.1 for one of the core applications. With the experience, In this article I’m discussing some important points to consider when you are upgrading Rails.
Fixing missing NVM Node for RubyMine
I have Rubymine installed locally. Recently for work, I had to install NVM in a new machine. However when I then load Rubymine on this new machine and start a task such a Rails project using the Configuration pane, I was treated with following error So basically it can’t find the NVM JavaScript runtime. After… Continue reading Fixing missing NVM Node for RubyMine
An intro to Debugging
In this article I’ve gathered my thoughts to help developers to get better in debugging especially if they find debugging really hard. The article also lists a set of tools which will help them to debug efficiently and to improve their skills. Hopefully you will find some value in this article, if you are also… Continue reading An intro to Debugging
An approach to use service workers to replace load balancer
In this article, I’m going to discuss a novel way to distribute network load of a highly distributed web based application service.
Serving Flask app with Nginx
So you have build a Flask application and now you want to server the application in the web. In this tutorial, I’m going to teach how you can do that with Nginx on an Ubuntu platform.
Updating Rails app gems
Past few weeks, we have been focusing on updating Gems of our Rails application.
DynamoForms : a library to validate forms only with HTML
This article about my recent work I have done in creating a JavaScript based HTML form validation library.